2024-07-08 16:03:14 +00:00
{
"id" : "CVE-2024-39677" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2024-07-08T15:15:22.450" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T09:28:12.080" ,
"vulnStatus" : "Modified" ,
2024-07-08 16:03:14 +00:00
"cveTags" : [ ] ,
"descriptions" : [
{
"lang" : "en" ,
"value" : "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."
2024-07-14 02:06:08 +00:00
} ,
{
"lang" : "es" ,
"value" : "NHibernate es un mapeador relacional de objetos para el framework .NET. Existe una vulnerabilidad de inyecci\u00f3n SQL en algunos tipos que implementan ILiteralType.ObjectToSQLString. Quienes llaman a estos m\u00e9todos est\u00e1n expuestos a la vulnerabilidad, que incluye asignaciones que utilizan herencia con valores discriminadores; Consultas HQL que hacen referencia a un campo est\u00e1tico de la aplicaci\u00f3n; usuarios de las utilidades SqlInsertBuilder y SqlUpdateBuilder, llamando a su sobrecarga AddColumn tomando un valor literal; y cualquier uso directo de los m\u00e9todos ObjectToSQLString para crear consultas SQL en el lado del usuario. Esta vulnerabilidad se solucion\u00f3 en 5.4.9 y 5.5.2."
2024-07-08 16:03:14 +00:00
}
] ,
"metrics" : {
"cvssMetricV31" : [
2024-08-29 18:03:15 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2024-08-29 18:03:15 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N" ,
"baseScore" : 5.9 ,
"baseSeverity" : "MEDIUM" ,
2024-08-29 18:03:15 +00:00
"attackVector" : "NETWORK" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "HIGH" ,
2024-08-29 18:03:15 +00:00
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
2024-12-08 03:06:42 +00:00
"confidentialityImpact" : "NONE" ,
2024-08-29 18:03:15 +00:00
"integrityImpact" : "HIGH" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2024-08-29 18:03:15 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.2 ,
"impactScore" : 3.6
2024-08-29 18:03:15 +00:00
} ,
2024-07-08 16:03:14 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2024-07-08 16:03:14 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" ,
"baseScore" : 9.8 ,
"baseSeverity" : "CRITICAL" ,
2024-07-08 16:03:14 +00:00
"attackVector" : "NETWORK" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "LOW" ,
2024-07-08 16:03:14 +00:00
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
2024-12-08 03:06:42 +00:00
"confidentialityImpact" : "HIGH" ,
2024-07-08 16:03:14 +00:00
"integrityImpact" : "HIGH" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "HIGH"
2024-07-08 16:03:14 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 3.9 ,
"impactScore" : 5.9
2024-07-08 16:03:14 +00:00
}
]
} ,
"weaknesses" : [
2024-08-29 18:03:15 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2024-08-29 18:03:15 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-89"
}
]
} ,
2024-07-08 16:03:14 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2024-07-08 16:03:14 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-89"
}
]
}
] ,
2024-08-29 18:03:15 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:nhibernate:nhibernate-core:*:*:*:*:*:*:*:*" ,
"versionEndExcluding" : "5.4.9" ,
"matchCriteriaId" : "23371DC1-350D-459D-AB4F-1E251FC87BB8"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:nhibernate:nhibernate-core:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "5.5.0" ,
"versionEndExcluding" : "5.5.2" ,
"matchCriteriaId" : "09A1DB68-907D-4000-8F0C-8C2E8C699E7C"
}
]
}
]
}
] ,
2024-07-08 16:03:14 +00:00
"references" : [
{
"url" : "https://github.com/nhibernate/nhibernate-core/commit/b4a69d1a5ff5744312478d70308329af496e4ba9" ,
2024-08-29 18:03:15 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2024-07-08 16:03:14 +00:00
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/issues/3516" ,
2024-08-29 18:03:15 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Issue Tracking"
]
2024-07-08 16:03:14 +00:00
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/pull/3517" ,
2024-08-29 18:03:15 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Issue Tracking"
]
2024-07-08 16:03:14 +00:00
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/pull/3547" ,
2024-08-29 18:03:15 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
2024-07-08 16:03:14 +00:00
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/security/advisories/GHSA-fg4q-ccq8-3r5q" ,
2024-08-29 18:03:15 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Vendor Advisory"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/commit/b4a69d1a5ff5744312478d70308329af496e4ba9" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/issues/3516" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Issue Tracking"
]
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/pull/3517" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Issue Tracking"
]
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/pull/3547" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
} ,
{
"url" : "https://github.com/nhibernate/nhibernate-core/security/advisories/GHSA-fg4q-ccq8-3r5q" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Vendor Advisory"
]
2024-07-08 16:03:14 +00:00
}
]
}