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.
History

Thu, 29 Aug 2024 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Nhibernate
Nhibernate nhibernate-core
CPEs cpe:2.3:a:nhibernate:nhibernate-core:*:*:*:*:*:*:*:*
Vendors & Products Nhibernate
Nhibernate nhibernate-core

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-07-08T14:52:39.053Z

Updated: 2024-08-02T04:26:15.958Z

Reserved: 2024-06-27T18:44:13.033Z

Link: CVE-2024-39677

cve-icon Vulnrichment

Updated: 2024-07-08T19:58:43.573Z

cve-icon NVD

Status : Modified

Published: 2024-07-08T15:15:22.450

Modified: 2024-11-21T09:28:12.080

Link: CVE-2024-39677

cve-icon Redhat

No data.