CVE-2013-4758 Use after free in n/a

Medium 6.8 Published Updated

Remote attackers can cause a crash or execute code via crafted JSON responses in rsyslog's Elasticsearch plugin when local error logging is 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-2013-4758?

CVE-2013-4758 is a medium-severity use after free vulnerability in n/a, published on 4 Oct 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Double free vulnerability in the writeDataError function in the ElasticSearch plugin (omelasticsearch) in rsyslog before 7.4.2 and before 7.5.2 devel, when errorfile is set to local logging, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted JSON response.

Weakness: CWE-399

Which versions are affected by CVE-2013-4758?

It affects 1 product.

Products include Rsyslog Rsyslog.

How do I fix CVE-2013-4758?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2013-4758 being exploited?

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

Sources

Also known as GHSA-h9vm-3m8j-cpjv.

Is CVE-2013-4758 in your software?

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

Check your SBOMs for free