CVE-2021-29476
JSON

9.8critical

Insecure Deserialization of untrusted data in rmccue/requests

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
2.14% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-52qp-jpq7-6c54

Description

Requests is a HTTP library written in PHP. Requests mishandles deserialization in FilteredIterator. The issue has been patched and users of `Requests` 1.6.0, 1.6.1 and 1.7.0 should update to version 1.8.0.

Affected

Product or packageVersionsReported by
WordPress Requests>= 1.6.0, < 1.8.0, 1.6.0, 1.6.1, 1.7.0CVE List, NVD
rmccue/requests (Packagist)from 1.6.0 before 1.8.0GitHub Advisory Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

Requests is a HTTP library written in PHP. Requests mishandles deserialization in FilteredIterator. The issue has been patched and users of `Requests` 1.6.0, 1.6.1 and 1.7.0 should update to version 1.8.0.

GitHub Advisory Database
NVD (es)

Requests es una biblioteca HTTP escrita en PHP.&#xa0;Las peticiones manejan inapropiadamente una deserialización en FilteredIterator.&#xa0;El problema ha sido parcheado y usuarios de "Requests" versiones 1.6.0, 1.6.1 y 1.7.0 deberían actualizar a versión 1.8.0

References

https://github.com/WordPress/Requests/security/advisories/GHSA-52qp-jpq7-6c54third-party-advisory, web
https://github.com/rmccue/Requests/pull/421patch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-29476advisory
https://github.com/ambionics/phpggc/issues/52web
https://github.com/WordPress/wordpress-develop/commit/add6bedf3a53b647d0ebda2970057912d3cd79d3web
https://2018.zeronights.ru/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdfweb
https://blog.detectify.com/2019/07/23/improving-wordpress-plugin-securityweb
https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdfweb
https://dannewitz.ninja/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpressweb
https://github.com/FriendsOfPHP/security-advisories/blob/master/rmccue/requests/CVE-2021-29476.yamlweb
https://i.blackhat.com/us-18/Thu-August-9/us-18-Thomas-Its-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdfweb
https://medium.com/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0fweb

Sources

SourceRecordLicence
CVE ListCVE-2021-29476 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-52qp-jpq7-6c54 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-29476 changed 2026-06-17Public domain