CVE-2020-9861 Denial of service in Swift 5.1.5 for Linux

High 7.5 Published Updated

Attackers can cause a stack overflow and denial of service in Swift for Linux by providing deeply nested malicious JSON input.

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-2020-9861?

CVE-2020-9861 is a high-severity denial of service vulnerability in Swift 5.1.5 for Linux, published on 2 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A stack overflow issue existed in Swift for Linux. The issue was addressed with improved input validation for dealing with deeply nested malicious JSON input.

Weakness: CWE-674

Which versions are affected by CVE-2020-9861?

It affects 1 product.

Products include Apple Swift.

How do I fix CVE-2020-9861?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-9861 being exploited?

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

Sources

Also known as GHSA-g4pr-mpxh-7vhq.

Is CVE-2020-9861 in your software?

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

Check your SBOMs for free