CVE-2017-17513 Command injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary commands via argument injection in TeX Live by exploiting unvalidated BROWSER environment variable handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2017-17513?

CVE-2017-17513 is a high-severity command injection vulnerability in n/a, published on 14 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

TeX Live through 20170524 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL, related to linked_scripts/context/stubs/unix/mtxrun, texmf-dist/scripts/context/stubs/mswin/mtxrun.lua, and texmf-dist/tex/luatex/lualibs/lualibs-os.lua.

Weakness: CWE-74

Which versions are affected by CVE-2017-17513?

It affects 1 product.

Products include Tug Tex Live.

How do I fix CVE-2017-17513?

No fix has been published for CVE-2017-17513 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-2017-17513 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-17513, ECHO-e69f-bf97-7e4d, GHSA-5fq9-qwgg-j7pg, UBUNTU-CVE-2017-17513.

Is CVE-2017-17513 in your software?

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

Check your SBOMs for free