U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-39677

Change History

New CVE Received by NIST 7/08/2024 11:15:22 AM

Action Type Old Value New Value
Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Added CWE

								
							
							
						
GitHub, Inc. CWE-89
Added 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.
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/nhibernate/nhibernate-core/commit/b4a69d1a5ff5744312478d70308329af496e4ba9 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/nhibernate/nhibernate-core/issues/3516 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/nhibernate/nhibernate-core/pull/3517 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/nhibernate/nhibernate-core/pull/3547 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/nhibernate/nhibernate-core/security/advisories/GHSA-fg4q-ccq8-3r5q [No types assigned]