CVE-2021-29476 json
Insecure Deserialization of untrusted data in rmccue/requests
published 2021-04-27 5 y ago modified 2026-07-08 4 mo ago also GHSA-52qp-jpq7-6c54 , EUVD-2021-0762
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist rmccue/requests 1.8.0
- wordpress Debian 14, Debian 13, Debian 12 5.5.3+dfsg1-1
debian advisories DEBIAN-CVE-2021-29476
- github.com/WordPress/wordpress-develop@add6bed commit
- github.com/rmccue/Requests#421 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-29476 updated cvss 8.1
php-rmccue-requests: Insecure Deserialization of untrusted data
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.14% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | rmccue/requests | >=1.6.0, <1.8.0 |
1.8.0 |
Affected products
- WordPress Requests
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/rmccue/Requests/pull/421
web, patch, third-party-advisory
-
github.com
/WordPress/wordpress-develop/commit/add6bedf3a53b647d0ebda2970057912d3cd79d3
web
-
github.com
/WordPress/Requests/security/advisories/GHSA-52qp-jpq7-6c54
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29476
advisory
-
github.com
/ambionics/phpggc/issues/52
web
-
2018.zeronights.ru
/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdf
web
-
blog.detectify.com
/2019/07/23/improving-wordpress-plugin-security
web
-
cdn2.hubspot.net
/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf
web
-
dannewitz.ninja
/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpress
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/rmccue/requests/CVE-2021-29476.yaml
web
-
i.blackhat.com
/us-18/Thu-August-9/us-18-Thomas-Its-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf
web
-
medium.com
/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0f
web
-
wordpress.org
/news/2020/10/wordpress-5-5-2-security-and-maintenance-release
web
Sources
- CVE List CVE-2021-29476
- GitHub Advisory GHSA-52qp-jpq7-6c54
- NVD CVE-2021-29476
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.