ywh/cvss-bundle
A Symfony bundle for working with CVSS (Common Vulnerability Scoring System) vectors and scores, providing services, Twig extensions, and helpers to parse, validate, and calculate vulnerability severity ratings in your applications.
CVSS:3.1/AV:N/AC:L/...) across heterogeneous sources — scanner output, pentest PDFs, researcher submissions. A CVSS parser is what lets you store, validate, and re-derive severity instead of trusting a free-text "High" field. This is the difference between a searchable/filterable findings table and a spreadsheet.Adopt only if:
composer.json or is the path of least resistance for a legacy service that needs scoring "this sprint."Look elsewhere (the default answer) if:
The realistic alternative: depend on the underlying scoring library directly (framework-agnostic), evaluate FIRST's reference implementations, or implement the spec in-house against the published equations plus the official test vectors. Because there are 0 dependents and no visible maintenance signal, treat adoption as "vendoring," not "buying" — budget for ownership from day one.
Executives: The capability — standardized, auditable vulnerability severity — is a real product requirement, driven by customer procurement (PCI DSS 4.0 names CVSS) and by the fact that our competitors ship severity-tiered SLAs and risk dashboards. The package is not the answer: it's a Symfony 2 integration for a framework line that reached end-of-life in 2019, with no dependents and no maintenance signal. Recommendation: adopt the standard, not this bundle. We standardize on CVSS v3.1 (with a v4.0 migration path) and build a small, owned scoring service in our current stack. Estimated cost is small and bounded — CVSS base scoring is deterministic math against a published spec with official test vectors — and it removes a dead-framework dependency from a security-sensitive code path.
Engineering:
ywh/cvss-bundleis a thin Symfony2 DI wrapper around YesWeHack's CVSS domain library. Worth 30 minutes as a reference read; not worth a dependency. It pins us to an EOL Symfony kernel, has no v4.0 support, and puts third-party, unmaintained code on our untrusted-input boundary (researcher-supplied vector strings). Plan: implement or vendor a framework-agnostic scorer, validate against the official FIRST test vectors in CI, and expose it behind an internalSeverityScorerinterface so the standard's next revision is a swap, not a rewrite.
How can I help you explore Laravel packages today?