A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Antirez linenoise
Weakness type
References
- github.com /antirez/linenoise/blob/master/linenoise.c
- github.com /antirez/linenoise/pull/202
- github.com /antirez/linenoise/blob/4111f1d6cd29e136b4e86a25d1dd859a1e0…
- github.com /antirez/linenoise/commit/f2558e1e588b1ba384ec73a2cf5c9a464…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning