BIT-php-2024-5585

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/php/BIT-php-2024-5585.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-php-2024-5585
Aliases
Published
2024-06-12T07:30:26.608Z
Modified
2025-01-15T08:56:55.944338Z
Summary
[none]
Details

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.

Database specific
{
    "cpes": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
    ],
    "severity": "High"
}
References

Affected packages

Bitnami / php

Package

Name
php
Purl
pkg:bitnami/php

Severity

  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.29
Introduced
8.2.0
Fixed
8.2.20
Introduced
8.3.0
Fixed
8.3.8