CVE-2017-18361 Pylons Colander Denial of Service vulnerability

High 7.5 Published Updated

An attacker can cause a denial of service in the Pylons Colander library by submitting a URL with an unclosed parenthesis, triggering an infinite loop.

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

What is CVE-2017-18361?

CVE-2017-18361 is a high-severity denial of service vulnerability in n/a, published on 1 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Pylons Colander through 1.6, the URL validator allows an attacker to potentially cause an infinite loop thereby causing a denial of service via an unclosed parenthesis.

Weakness: CWE-835

Which versions are affected by CVE-2017-18361?

3 open source packages ship an affected version, including colander. It affects 1 product.

PackageAffectedFixed in
colander PyPIAll versions1.7.0
colander PyPIAll versions1.7.0
colander PyPIAll versions1.7.0
Linux distribution packages (2)
python-colander openSUSE:TumbleweedAll versions2.0-1.3
python-colander openSUSE:TumbleweedAll versions2.0-2.4

Products include Pylonsproject Colander.

How do I fix CVE-2017-18361?

Upgrade colander to 1.7.0 or later.

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-2017-18361 being exploited?

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

Sources

Also known as GHSA-rv95-4wxj-6fqq, PYSEC-2019-167, UBUNTU-CVE-2017-18361, openSUSE-SU-2024:11222-1, openSUSE-SU-2024:14136-1, openSUSE-SU-2026:12004-1.

Is CVE-2017-18361 in your software?

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

Check your SBOMs for free