GHSA-j68w-pg49-f6vx

Suggest an improvement
Source
https://github.com/advisories/GHSA-j68w-pg49-f6vx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-j68w-pg49-f6vx/GHSA-j68w-pg49-f6vx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j68w-pg49-f6vx
Published
2024-05-30T00:52:20Z
Modified
2024-12-04T05:48:43.956460Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Symfony XML decoding attack vector through external entities
Details

The XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-611"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-30T00:52:20Z"
}
References

Affected packages

Packagist / symfony/serializer

Package

Name
symfony/serializer
Purl
pkg:composer/symfony/serializer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.11

Affected versions

2.*

2.0.4
2.0.5
2.0.6
2.0.7

v2.*

v2.0.9
v2.0.10