StackPatch is liveSee product

Back to CVE digest
CVE-2024-9902 · cross-distro fix matrix

CVE-2024-9902: A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unpri

Affects 3 Linux releases across 5 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2024-9902 has a known fix. Run the listed command on that distro to remediate.

Debian bullseye

Source: Debian Security Tracker

  • ansible→ fixed in2.10.7+merged+base+2.10.17+dfsg-0+deb11u2urgency: not yet assigned
    sudo apt-get install --only-upgrade -y ansible

Debian bookworm

Source: Debian Security Tracker

  • ansible→ fixed in5.4.0-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y ansible
  • ansible-core→ fixed in2.14.18-0+deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y ansible-core

Debian trixie

Source: Debian Security Tracker

  • ansible→ fixed in5.4.0-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y ansible
  • ansible-core→ fixed in2.18.0-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y ansible-core
Are YOU affected by CVE-2024-9902?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-9902dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)