Time-of-check Time-of-use (TOCTOU) Affecting redis:7/redis-doc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.01% (4th 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 Learn

Learn about Time-of-check Time-of-use (TOCTOU) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-REDIS-12452932
  • published3 Sept 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?

There is no fixed version for RHEL:9 redis:7/redis-doc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis:7/redis-doc package and not the redis:7/redis-doc package as distributed by RHEL. See How to fix? for RHEL:9 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