Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-39677: NHibernate is an object-relational mapper for the .NET framework

38
Routine
MEDIUM 5.9REMOTEUPGRADE

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 score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.6% (top 52%)
CISA exploited listNo
WeaknessCWE-89
Published2024-07-08
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: nhibernate

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

nhibernate nhibernate-core UPGRADE
Affected: < 5.4.9 · >= 5.5.0 and < 5.5.2
Fixed in: 5.4.9, 5.5.2
Safe to downgrade to: a release before 5.5.0
1. Check installed version
apt-cache policy nhibernate-core || rpm -q nhibernate-core || nhibernate-core --version
2. UPGRADE to 5.4.9 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade nhibernate-core
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade nhibernate-core
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 5.5.0 (Debian / Ubuntu)
apt-cache madison nhibernate-core sudo apt install nhibernate-core=<VERSION_BEFORE_5.5.0> sudo apt-mark hold nhibernate-core
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list nhibernate-core sudo dnf downgrade nhibernate-core-<VERSION_BEFORE_5.5.0> sudo dnf versionlock add nhibernate-core
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Software pages

.NET vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.