TOCTOU race in Linenoise enables arbitrary file overwrite and permission changes
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 6.8epss 0.1%
probabilidad de explotación
0.1%top 99% de las CVE
explotación observada
noninguna fuente lo reporta
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Productos afectados
antirez · linenoiseReferencias
https://github.com/antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e00813b/linenoise.c#L1321https://github.com/antirez/linenoise/blob/master/linenoise.c#L1321https://github.com/antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a46409753dbhttps://github.com/antirez/linenoise/pull/202