NHibernate vulnerabilities

NHibernate is a mature, open source object-relational mapper for the .NET framework. It is actively developed, fully featured and used in thousands of successful projects.

Registry
NuGet
Latest
5.7.1
License
LGPL-2.1-only

1 known advisory

The latest version, 5.7.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:dotnet add package NHibernate --version 5.7.1

Is your project on an affected NHibernate?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for NHibernate

  • HighCVE-2024-39677GHSA-fg4q-ccq8-3r5q8 Jul 2024

    NHibernate SQL injection vulnerability in discriminator mappings, static fields referenced in HQL, and some utilities

    Affected
    <5.4.9 · >=5.5.0 <5.5.2
    Fixed in
    5.4.9, 5.5.2

Is your NHibernate version vulnerable?

Which of your client projects still run an old NHibernate?

NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other NuGet packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.