{"url":"http://public2.vulnerablecode.io/api/packages/21314?format=json","purl":"pkg:pypi/fastapi@0.7.0","type":"pypi","namespace":"","name":"fastapi","version":"0.7.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"0.109.1","latest_non_vulnerable_version":"0.109.1","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/9052?format=json","vulnerability_id":"VCID-7zj4-1ptf-cyfy","summary":"FastAPI is a web framework for building APIs with Python 3.8+ based on standard Python type hints. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests. It's a ReDoS(Regular expression Denial of Service), it only applies to those reading form data, using `python-multipart`. This vulnerability has been patched in version 0.109.1.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24762","reference_id":"","reference_type":"","scores":[{"value":"0.03333","scoring_system":"epss","scoring_elements":"0.87504","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24762"},{"reference_url":"https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"url":"https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc"},{"reference_url":"https://github.com/tiangolo/fastapi/releases/tag/0.109.1","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"url":"https://github.com/tiangolo/fastapi/releases/tag/0.109.1"},{"reference_url":"https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}],"url":"https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24762","reference_id":"CVE-2024-24762","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24762"},{"reference_url":"https://github.com/advisories/GHSA-qf9m-vfgh-m389","reference_id":"GHSA-qf9m-vfgh-m389","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-qf9m-vfgh-m389"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/38351?format=json","purl":"pkg:pypi/fastapi@0.109.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/fastapi@0.109.1"}],"aliases":["CVE-2024-24762","GHSA-qf9m-vfgh-m389","PYSEC-2024-38"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-7zj4-1ptf-cyfy"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/5486?format=json","vulnerability_id":"VCID-aecf-d5kg-juh6","summary":"cross-site request forgery","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32677","reference_id":"","reference_type":"","scores":[{"value":"0.00119","scoring_system":"epss","scoring_elements":"0.30506","published_at":"2026-05-30T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32677"},{"reference_url":"https://github.com/tiangolo/fastapi/commit/fa7e3c996edf2d5482fff8f9d890ac2390dede4d","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/tiangolo/fastapi/commit/fa7e3c996edf2d5482fff8f9d890ac2390dede4d"},{"reference_url":"https://github.com/tiangolo/fastapi/security/advisories/GHSA-8h2j-cgx8-6xv7","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/tiangolo/fastapi/security/advisories/GHSA-8h2j-cgx8-6xv7"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MATAWX25TYKNEKLDMKWNLYDB34UWTROA/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MATAWX25TYKNEKLDMKWNLYDB34UWTROA/"},{"reference_url":"https://security.archlinux.org/ASA-202107-6","reference_id":"ASA-202107-6","reference_type":"","scores":[],"url":"https://security.archlinux.org/ASA-202107-6"},{"reference_url":"https://security.archlinux.org/AVG-2060","reference_id":"AVG-2060","reference_type":"","scores":[{"value":"Medium","scoring_system":"archlinux","scoring_elements":""}],"url":"https://security.archlinux.org/AVG-2060"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/21400?format=json","purl":"pkg:pypi/fastapi@0.65.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7zj4-1ptf-cyfy"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/fastapi@0.65.2"}],"aliases":["CVE-2021-32677","GHSA-8h2j-cgx8-6xv7","PYSEC-2021-100"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-aecf-d5kg-juh6"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/fastapi@0.7.0"}