CVE-2021-40540
CRITICALCVSS 9.8/10EPSS 2.54%
Last modified
CVE-2021-40540 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. ulfius_uri_logger in Ulfius HTTP Framework before 2.7.4 omits con_info initialization and a con_info->request NULL check for certain malformed HTTP requests.. EPSS estimates a 2.54% chance of exploitation in the next 30 days.
Description
ulfius_uri_logger in Ulfius HTTP Framework before 2.7.4 omits con_info initialization and a con_info->request NULL check for certain malformed HTTP requests.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ulfius Project | Ulfius | < 2.7.4 |
References
- http://packetstormsecurity.com/files/164152/Ulfius-Web-Framework-Remote-Memory-Corruption.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/babelouest/ulfius/commit/c83f564c184a27145e07c274b305cabe943bbfaaPatch, Third Party Advisory
- https://github.com/babelouest/ulfius/compare/v2.7.3...v2.7.4Patch, Third Party Advisory
- http://packetstormsecurity.com/files/164152/Ulfius-Web-Framework-Remote-Memory-Corruption.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/babelouest/ulfius/commit/c83f564c184a27145e07c274b305cabe943bbfaaPatch, Third Party Advisory
- https://github.com/babelouest/ulfius/compare/v2.7.3...v2.7.4Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40540?
ulfius_uri_logger in Ulfius HTTP Framework before 2.7.4 omits con_info initialization and a con_info->request NULL check for certain malformed HTTP requests.
How severe is CVE-2021-40540?
CVE-2021-40540 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.54% probability of exploitation in the next 30 days.
How do I fix CVE-2021-40540?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40530The ElGamal implementation in Crypto++ through 8.5 allows pl…5.9
- CVE-2021-40531Sketch before 75 allows library feeds to be used to bypass f…9.8
- CVE-2021-40532Telegram Web K Alpha before 0.7.2 mishandles the characters …9.8
- CVE-2021-40537Server Side Request Forgery (SSRF) vulnerability exists in o…2.7
- CVE-2021-40539Zoho ManageEngine ADSelfService Plus version 6113 and prior …9.8
- CVE-2021-4054Incorrect security UI in autofill in Google Chrome prior to …6.5
- CVE-2021-40541PHPFusion 9.03.110 is affected by cross-site scripting (XSS)…6.1
- CVE-2021-40542Opensis-Classic Version 8.0 is affected by cross-site script…6.1
- CVE-2021-40543Opensis-Classic Version 8.0 is affected by a SQL injection v…9.8
- CVE-2021-40546Tenda AC6 US_AC6V4.0RTL_V02.03.01.26_cn.bin allows attackers…4.9
- CVE-2021-4055Heap buffer overflow in extensions in Google Chrome prior to…8.8
- CVE-2021-40553piwigo 11.5.0 is affected by a remote code execution (RCE) v…8.8
Are you affected by CVE-2021-40540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
