124 lines
5.3 KiB
JSON
124 lines
5.3 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-12481",
|
|
"assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "@huntr_ai",
|
|
"dateReserved": "2026-06-17T01:06:48.759Z",
|
|
"datePublished": "2026-07-03T20:36:05.003Z",
|
|
"dateUpdated": "2026-07-06T15:15:46.244Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "Deserialization of Untrusted Data in keras-team/keras",
|
|
"providerMetadata": {
|
|
"orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
|
|
"shortName": "@huntr_ai",
|
|
"dateUpdated": "2026-07-03T20:36:05.003Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer. Specifically, the `_raise_for_lambda_deserialization()` function fails to enforce the safe-mode guard when `safe_mode` is set to `None`, which is the default value when `from_config()` is called outside of a `SafeModeScope` context. This logic error conflates `None` (unset/default-deny) with `False` (explicitly disabled), bypassing the guard and allowing attacker-controlled `marshal` bytecode to be deserialized. Affected call sites include `keras.layers.deserialize(config)`, `keras.models.clone_model(model)`, and any direct invocation of `Lambda.from_config(config)` without an enclosing `SafeModeScope(True)`. This vulnerability can be exploited to achieve arbitrary OS-level code execution in the context of the server or user process."
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "keras-team",
|
|
"product": "keras-team/keras",
|
|
"versions": [
|
|
{
|
|
"version": "unspecified",
|
|
"status": "affected",
|
|
"versionType": "custom",
|
|
"lessThanOrEqual": "latest"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/59ceaed1-c8a3-4135-8f94-169ade02823d"
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_0": {
|
|
"version": "3.0",
|
|
"attackComplexity": "LOW",
|
|
"attackVector": "NETWORK",
|
|
"availabilityImpact": "HIGH",
|
|
"confidentialityImpact": "HIGH",
|
|
"integrityImpact": "HIGH",
|
|
"privilegesRequired": "NONE",
|
|
"scope": "UNCHANGED",
|
|
"userInteraction": "REQUIRED",
|
|
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
|
|
"baseScore": 8.8,
|
|
"baseSeverity": "HIGH"
|
|
}
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"type": "CWE",
|
|
"lang": "en",
|
|
"description": "CWE-502 Deserialization of Untrusted Data",
|
|
"cweId": "CWE-502"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "59ceaed1-c8a3-4135-8f94-169ade02823d",
|
|
"discovery": "EXTERNAL"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"references": [
|
|
{
|
|
"url": "https://huntr.com/bounties/59ceaed1-c8a3-4135-8f94-169ade02823d",
|
|
"tags": [
|
|
"exploit"
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-07-06T15:15:34.297007Z",
|
|
"id": "CVE-2026-12481",
|
|
"options": [
|
|
{
|
|
"Exploitation": "poc"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "total"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-07-06T15:15:46.244Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |