{"id":"CVE-2021-29476","aliases":["CVE-2021-29476","GHSA-52qp-jpq7-6c54"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure Deserialization of untrusted data in rmccue/requests","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nUnserialization of untrusted data.\n\n### Patches\nThe 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.\n\n### References\nPublications about the vulnerability:\n* https://dannewitz.ninja/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpress\n* https://github.com/ambionics/phpggc/issues/52\n* https://blog.detectify.com/2019/07/23/improving-wordpress-plugin-security/\n* https://i.blackhat.com/us-18/Thu-August-9/us-18-Thomas-Its-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf\n* https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf\n* https://2018.zeronights.ru/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdf\n* https://medium.com/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0f\n\nOriginally fixed in WordPress 5.5.2:\n* https://github.com/WordPress/wordpress-develop/commit/add6bedf3a53b647d0ebda2970057912d3cd79d3\n* https://wordpress.org/news/2020/10/wordpress-5-5-2-security-and-maintenance-release/\n\nRelated Security Advisories:\n* https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-28032\n* https://nvd.nist.gov/vuln/detail/CVE-2020-28032\n\nNotification to the Requests repo including a fix in:\n* https://github.com/rmccue/Requests/pull/421 and\n* https://github.com/rmccue/Requests/pull/422\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Request](https://github.com/WordPress/Requests/)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-04-27T20:55:13.000Z","modified":"2026-07-08T06:27:55.875Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":">= 1.6.0, < 1.8.0","status":"affected"}],"vendor":"WordPress","product":"Requests","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.6.0","status":"affected","fixed":"1.8.0"}],"ecosystem":"Packagist","package":"rmccue/requests","purl":"pkg:composer/rmccue/requests","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.6.0"},{"status":"affected","version":"1.6.1"},{"status":"affected","version":"1.7.0"}],"vendor":"wordpress","product":"requests","cpe":"cpe:2.3:a:wordpress:requests:1.6.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/WordPress/Requests/security/advisories/GHSA-52qp-jpq7-6c54","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rmccue/Requests/pull/421","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29476","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ambionics/phpggc/issues/52","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/add6bedf3a53b647d0ebda2970057912d3cd79d3","tags":["web"],"sources":["ghsa"]},{"url":"https://2018.zeronights.ru/wp-content/uploads/materials/9%20ZN2018%20WV%20-%20PHP%20unserialize.pdf","tags":["web"],"sources":["ghsa"]},{"url":"https://blog.detectify.com/2019/07/23/improving-wordpress-plugin-security","tags":["web"],"sources":["ghsa"]},{"url":"https://cdn2.hubspot.net/hubfs/3853213/us-18-Thomas-It%27s-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-....pdf","tags":["web"],"sources":["ghsa"]},{"url":"https://dannewitz.ninja/posts/php-unserialize-object-injection-yet-another-stars-rating-wordpress","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/rmccue/requests/CVE-2021-29476.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://i.blackhat.com/us-18/Thu-August-9/us-18-Thomas-Its-A-PHP-Unserialization-Vulnerability-Jim-But-Not-As-We-Know-It.pdf","tags":["web"],"sources":["ghsa"]},{"url":"https://medium.com/@knownsec404team/extend-the-attack-surface-of-php-deserialization-vulnerability-via-phar-d6455c6a1066#3c0f","tags":["web"],"sources":["ghsa"]},{"url":"https://wordpress.org/news/2020/10/wordpress-5-5-2-security-and-maintenance-release","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29476","url":"https://www.cve.org/CVERecord?id=CVE-2021-29476","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:05.121Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-52qp-jpq7-6c54","url":"https://github.com/advisories/GHSA-52qp-jpq7-6c54","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:55.875Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29476","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29476","licence":"Public domain","modified":"2026-06-17T03:47:43.223Z"}],"updatedAt":"2026-11-25T22:58:01.064Z","epss":{"score":0.02142,"percentile":0.8257,"date":"2026-12-01T12:00:22.000Z"}}