CVE-2024-6381
Last modified
CVE-2024-6381 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Libbson | < 1.26.2 |
References
- https://jira.mongodb.org/browse/CDRIVER-5622Issue Tracking, Vendor Advisory
- https://jira.mongodb.org/browse/CDRIVER-5622Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-6381?
How severe is CVE-2024-6381?
How do I fix CVE-2024-6381?
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 2024
- CVE-2024-6375A command for refining a collection shard key is missing an …6.5
- CVE-2024-6376MongoDB Compass may be susceptible to code injection due to …9.8
- CVE-2024-6377An URL redirection to untrusted site (open redirect) vulnera…6.1
- CVE-2024-6378A reflected Cross-site Scripting (XSS) vulnerability affecti…5.4
- CVE-2024-6379A reflected Cross-site Scripting (XSS) vulnerability affecti…6.1
- CVE-2024-6380A reflected Cross-site Scripting (XSS) vulnerability affecti…5.4
- CVE-2024-6382Incorrect handling of certain string inputs may result in Mo…7.5
- CVE-2024-6383The bson_string_append function in MongoDB C Driver may be v…5.3
- CVE-2024-6384"Hot" backup files may be downloaded by underprivileged user…5.3
- CVE-2024-6385An issue was discovered in GitLab CE/EE affecting all versio…9.8
- CVE-2024-6386The WPML plugin for WordPress is vulnerable to Remote Code E…8.8
- CVE-2024-6387A security regression (CVE-2006-5051) was discovered in Open…8.1
Are you affected by CVE-2024-6381?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
