Advisory

DEBIAN-CVE-2023-45145

Also known as: CVE-2023-45145

Summary

The record has no summary.

Details

Redis is an in-memory database that persists on disk. On startup, Redis begins listening on a Unix socket before adjusting its permissions to the user-provided configuration. If a permissive umask(2) is used, this creates a race condition that enables, during a short period of time, another process to establish an otherwise unauthorized connection. This problem has existed since Redis 2.6.0-RC1. This issue has been addressed in Redis versions 7.2.2, 7.0.14 and 6.2.14. Users are advised to upgrade. For users unable to upgrade, it is possible to work around the problem by disabling Unix sockets, starting Redis with a restrictive umask, or storing the Unix socket file in a protected directory.

Severity

Low Basis: CVSS v3 score 3.6, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2023-10-18 21:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

redis

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 5:7.0.15-1~deb12u1 (ecosystem)

Fixed versions

5:7.0.15-1~deb12u1

Fix

  • Fixed version 5:7.0.15-1~deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

redis

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5:7.0.14-1 (ecosystem)

Fixed versions

5:7.0.14-1

Fix

  • Fixed version 5:7.0.14-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

redis

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 5:7.0.14-1 (ecosystem)

Fixed versions

5:7.0.14-1

Fix

  • Fixed version 5:7.0.14-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences