GHSA-w4rc-rx25-8m86

Suggest an improvement
Source
https://github.com/advisories/GHSA-w4rc-rx25-8m86
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w4rc-rx25-8m86/GHSA-w4rc-rx25-8m86.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-w4rc-rx25-8m86
Aliases
Published
2020-02-12T18:44:16Z
Modified
2023-11-01T04:50:15.252544Z
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
Improper Input Validation in Symfony
Details

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.

Database specific
{
    "cwe_ids": [
        "CWE-116"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-02-11T20:39:28Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

Packagist / symfony/symfony

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
4.2.12

Affected versions

v4.*
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6
v4.2.7
v4.2.8
v4.2.9
v4.2.10
v4.2.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w4rc-rx25-8m86/GHSA-w4rc-rx25-8m86.json"

Packagist / symfony/symfony

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.3.8

Affected versions

v4.*
v4.3.0
v4.3.1
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.3.6
v4.3.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w4rc-rx25-8m86/GHSA-w4rc-rx25-8m86.json"

Packagist / symfony/var-exporter

Package

Name
symfony/var-exporter
Purl
pkg:composer/symfony/var-exporter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
4.2.12

Affected versions

v4.*
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6
v4.2.7
v4.2.8
v4.2.9
v4.2.10
v4.2.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w4rc-rx25-8m86/GHSA-w4rc-rx25-8m86.json"

Packagist / symfony/var-exporter

Package

Name
symfony/var-exporter
Purl
pkg:composer/symfony/var-exporter

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.3.0
Fixed
4.3.8

Affected versions

v4.*
v4.3.0
v4.3.1
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.3.6
v4.3.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-w4rc-rx25-8m86/GHSA-w4rc-rx25-8m86.json"