CVE-2023-35853 Code injection in n/a

Critical 9.8 Published Updated

An attacker controlling external Lua rules can execute arbitrary Lua code in Suricata if Lua rules are 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-2023-35853?

CVE-2023-35853 is a critical code injection vulnerability in Oisf Suricata, published on 19 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Suricata before 6.0.13, an adversary who controls an external source of Lua rules may be able to execute Lua code. This is addressed in 6.0.13 by disabling Lua unless allow-rules is true in the security lua configuration section.

Weakness: CWE-94

Which versions are affected by CVE-2023-35853?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2023-35853?

Upgrade to a fixed version.

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

Is CVE-2023-35853 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-35853, GHSA-42j3-j7r2-vj2g, UBUNTU-CVE-2023-35853.

Is CVE-2023-35853 in your software?

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

Check your SBOMs for free