Time-of-check Time-of-use (TOCTOU) Affecting redis6-doc package, versions <0:6.2.14-2.amzn2023.0.7


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-REDIS6DOC-13167070
  • published1 Oct 2025
  • disclosed1 Sept 2025

Introduced: 1 Sep 2025

CVE-2025-9810  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 redis6-doc to version 0:6.2.14-2.amzn2023.0.7 or higher.
This issue was patched in ALAS2023-2025-1195.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis6-doc package and not the redis6-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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 Base Scores

version 3.1