CVE-2019-10788 OS Command Injection in im-metadata

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands via the exec argument in the im-metadata library, requiring an upgrade to mitigate.

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

What is CVE-2019-10788?

CVE-2019-10788 is a critical command injection vulnerability in im-metadata, published on 4 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

im-metadata through 3.0.1 allows remote attackers to execute arbitrary commands via the "exec" argument. It is possible to inject arbitrary commands as part of the metadata options which is given to the "exec" function.

Weakness: CWE-78

Which versions are affected by CVE-2019-10788?

2 open source packages ship an affected version, including im-metadata. It affects 1 product.

PackageAffectedFixed in
im-metadata npmAll versions to 3.0.1None
im-metadata npmAll versions to 3.0.1None

Products include Dnt Im-Metadata.

How do I fix CVE-2019-10788?

No fix has been published for CVE-2019-10788 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2019-10788 being exploited?

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

Sources

Also known as GHSA-qfxv-qqvg-24pg.

Is CVE-2019-10788 in your software?

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

Check your SBOMs for free