Files
vuln-cve/data/2025/9xxx/CVE-2025-9810.json
T

195 lines
7.7 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2025-9810",
"assignerOrgId": "96148269-fe82-4198-b1bf-3a73ce8bc92e",
"state": "PUBLISHED",
"assignerShortName": "CyberArk",
"dateReserved": "2025-09-01T18:48:53.813Z",
"datePublished": "2025-09-01T19:03:19.540Z",
"dateUpdated": "2026-04-22T15:06:11.462Z"
},
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "affected",
"modules": [
"linenoiseHistorySave"
],
"product": "linenoise",
"programFiles": [
"linenoise.c"
],
"vendor": "antirez",
"versions": [
{
"status": "affected",
"version": "0"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "@disconnect3d"
},
{
"lang": "en",
"type": "analyst",
"value": "Simcha Kosman"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "<span style=\"background-color: rgb(255, 255, 255);\">TOCTOU </span><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;in </span><code>linenoiseHistorySave</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;in </span><code>linenoise</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;allows local attackers to overwrite arbitrary files and change permissions via a symlink race between </span><code>fopen(\"w\")</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;on the history path and subsequent </span><code>chmod()</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;on the same path.</span>"
}
],
"value": "TOCTOU  in linenoiseHistorySave in linenoise allows local attackers to overwrite arbitrary files and change permissions via a symlink race between fopen(\"w\") on the history path and subsequent chmod() on the same path."
}
],
"impacts": [
{
"capecId": "CAPEC-132",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-132 Symlink Attack"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-367",
"description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"orgId": "96148269-fe82-4198-b1bf-3a73ce8bc92e",
"shortName": "CyberArk",
"dateUpdated": "2025-09-01T19:03:19.540Z"
},
"references": [
{
"url": "https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321"
},
{
"url": "https://github.com/antirez/linenoise/pull/202"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "call fchmod() on the fd instead of chmod() on the path\n\n<br>"
}
],
"value": "call fchmod() on the fd instead of chmod() on the path"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2025-09-02T16:13:30.664402Z",
"id": "CVE-2025-9810",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-09-02T16:13:46.132Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-04-22T15:06:11.462Z"
},
"references": [
{
"url": "https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321"
},
{
"url": "https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753db"
}
],
"title": "CVE Program Container",
"x_generator": {
"engine": "ADPogram 0.0.1"
}
}
]
}
}