CVE-2018-17082

Source
https://cve.org/CVERecord?id=CVE-2018-17082
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17082.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-17082
Downstream
Related
Published
2018-09-16T15:29:00.253Z
Modified
2026-03-15T22:20:03.825018Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the phphandler function in sapi/apache2handler/sapiapache2.c.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.6.38"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.32"
        },
        {
            "introduced": "7.1.0"
        },
        {
            "fixed": "7.1.22"
        },
        {
            "introduced": "7.2.0"
        },
        {
            "fixed": "7.2.10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "8.0"
        }
    ]
}

Database specific

vanir_signatures
[
    {
        "digest": {
            "length": 3972.0,
            "function_hash": "286714666792502187029051883559319256746"
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2018-17082-68a51ab8",
        "target": {
            "function": "php_handler",
            "file": "sapi/apache2handler/sapi_apache2.c"
        },
        "source": "https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "152064786699712677301454464694779181018",
                "29303015709440994030888303854153240592",
                "111547859227363177804637785761047134821",
                "289592337297551983891992604857677649335"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2018-17082-fa554c7b",
        "target": {
            "file": "sapi/apache2handler/sapi_apache2.c"
        },
        "source": "https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e"
    }
]
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17082.json"