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?
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
