CVE-2024-39677
Last modified
CVE-2024-39677 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. NHibernate is an object-relational mapper for the .NET framework. A SQL injection vulnerability exists in some types implementing ILiteralType.ObjectToSQLString. EPSS estimates a 0.58% chance of exploitation in the next 30 days.
Description
NHibernate is an object-relational mapper for the .NET framework. A SQL injection vulnerability exists in some types implementing ILiteralType.ObjectToSQLString. Callers of these methods are exposed to the vulnerability, which includes mappings using inheritance with discriminator values; HQL queries referencing a static field of the application; users of the SqlInsertBuilder and SqlUpdateBuilder utilities, calling their AddColumn overload taking a literal value; and any direct use of the ObjectToSQLString methods for building SQL queries on the user side. This vulnerability is fixed in 5.4.9 and 5.5.2.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nhibernate | Nhibernate-Core | < 5.4.9 |
| Nhibernate | Nhibernate-Core | >= 5.5.0, < 5.5.2 |
References
- https://github.com/nhibernate/nhibernate-core/pull/3517Issue Tracking
- https://github.com/nhibernate/nhibernate-core/pull/3547Issue Tracking, Patch
- https://github.com/nhibernate/nhibernate-core/pull/3517Issue Tracking
- https://github.com/nhibernate/nhibernate-core/pull/3547Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-39677?
How severe is CVE-2024-39677?
How do I fix CVE-2024-39677?
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-39671Access control vulnerability in the security verification mo…5.5
- CVE-2024-39672Memory request logic vulnerability in the memory module. Imp…7.1
- CVE-2024-39673Vulnerability of serialisation/deserialisation mismatch in t…7.1
- CVE-2024-39674Plaintext vulnerability in the Gallery search module. Impact…5.5
- CVE-2024-39675A vulnerability has been identified in RUGGEDCOM RMC30 (All …8.8
- CVE-2024-39676Exposure of Sensitive Information to an Unauthorized Actor v…7.5
- CVE-2024-39678Cooked is a recipe plugin for WordPress. The Cooked plugin i…8.8
- CVE-2024-39679Cooked is a recipe plugin for WordPress. The Cooked plugin f…8.8
- CVE-2024-3968Remote Code Execution has been discovered in OpenText™ iMana…9.8
- CVE-2024-39680Cooked is a recipe plugin for WordPress. The Cooked plugin f…8.8
- CVE-2024-39681Cooked is a recipe plugin for WordPress. The Cooked plugin f…8.8
- CVE-2024-39682Cooked is a recipe plugin for WordPress. The Cooked plugin f…5.4
Are you affected by CVE-2024-39677?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
