cvelist/2024/39xxx/CVE-2024-39677.json

110 lines
4.4 KiB
JSON
Raw Normal View History

2024-06-27 19:00:38 +00:00
{
2024-07-08 15:00:36 +00:00
"data_version": "4.0",
2024-06-27 19:00:38 +00:00
"data_type": "CVE",
"data_format": "MITRE",
"CVE_data_meta": {
"ID": "CVE-2024-39677",
2024-07-08 15:00:36 +00:00
"ASSIGNER": "security-advisories@github.com",
"STATE": "PUBLIC"
2024-06-27 19:00:38 +00:00
},
"description": {
"description_data": [
{
"lang": "eng",
2024-07-08 15:00:36 +00:00
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
"cweId": "CWE-89"
}
]
}
]
},
"affects": {
"vendor": {
"vendor_data": [
{
"vendor_name": "nhibernate",
"product": {
"product_data": [
{
"product_name": "nhibernate-core",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "< 5.4.9"
},
{
"version_affected": "=",
"version_value": ">= 5.5.0, < 5.5.2"
}
]
}
}
]
}
}
]
}
},
"references": {
"reference_data": [
{
"url": "https://github.com/nhibernate/nhibernate-core/security/advisories/GHSA-fg4q-ccq8-3r5q",
"refsource": "MISC",
"name": "https://github.com/nhibernate/nhibernate-core/security/advisories/GHSA-fg4q-ccq8-3r5q"
},
{
"url": "https://github.com/nhibernate/nhibernate-core/issues/3516",
"refsource": "MISC",
"name": "https://github.com/nhibernate/nhibernate-core/issues/3516"
},
{
"url": "https://github.com/nhibernate/nhibernate-core/pull/3517",
"refsource": "MISC",
"name": "https://github.com/nhibernate/nhibernate-core/pull/3517"
},
{
"url": "https://github.com/nhibernate/nhibernate-core/pull/3547",
"refsource": "MISC",
"name": "https://github.com/nhibernate/nhibernate-core/pull/3547"
},
{
"url": "https://github.com/nhibernate/nhibernate-core/commit/b4a69d1a5ff5744312478d70308329af496e4ba9",
"refsource": "MISC",
"name": "https://github.com/nhibernate/nhibernate-core/commit/b4a69d1a5ff5744312478d70308329af496e4ba9"
}
]
},
"source": {
"advisory": "GHSA-fg4q-ccq8-3r5q",
"discovery": "UNKNOWN"
},
"impact": {
"cvss": [
{
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
"version": "3.1"
2024-06-27 19:00:38 +00:00
}
]
}
}