CVE-2024-39677: NHibernate is an object-relational mapper for the .NET framework
CVE-2024-39677 is a medium-severity flaw (CVSS 5.9) affecting nhibernate-core. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2024-07-08 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-39677?
nhibernate-core: upgrade to 5.4.9, 5.5.2. Exact commands for each OS are on this page.
Is CVE-2024-39677 being exploited?
CVE-2024-39677 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-39677 affect?
CVE-2024-39677 affects nhibernate-core. Severity is medium (CVSS 5.9). 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 mapp
How urgent is CVE-2024-39677?
Priority 38/100. Remotely exploitable, no login, no user action