CVE-2024-39844 Code injection in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code in ZNC via the modtcl module when handling KICK commands, requiring the module to be enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-39844?

CVE-2024-39844 is a critical code injection vulnerability in n/a, published on 3 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In ZNC before 1.9.1, remote code execution can occur in modtcl via a KICK.

Weakness: CWE-94

Which versions are affected by CVE-2024-39844?

Linux distribution packages (3)
znc SUSE:Package Hub 15 SP6All versions1.9.1-bp156.2.3.1
znc openSUSE:Leap 15.6All versions1.9.1-bp156.2.3.1
znc openSUSE:TumbleweedAll versions1.9.1-1.1

How do I fix CVE-2024-39844?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-39844 being exploited?

There is no known exploitation of CVE-2024-39844 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2024-39844, DSA-5725-1, GHSA-qh94-pjxq-88v7, MGASA-2024-0257, UBUNTU-CVE-2024-39844, USN-6990-1 and 2 more.

Is CVE-2024-39844 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free