CVE-2021-33318 Improper Input Validation in IpMatcher

Critical 9.8 Published Updated

Insufficient input validation in WatsonWebserver and IpMatcher allows bypassing IP-based access controls by manipulating IP address and netmask inputs.

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

What is CVE-2021-33318?

CVE-2021-33318 is a critical vulnerability in n/a, published on 16 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An Input Validation Vulnerability exists in Joel Christner .NET C# packages WatsonWebserver, IpMatcher 1.0.4.1 and below (IpMatcher) and 4.1.3 and below (WatsonWebserver) due to insufficient validation of input IP addresses and netmasks against the internal Matcher list of IP addresses and subnets.

Weakness: CWE-704

Which versions are affected by CVE-2021-33318?

2 open source packages ship an affected version, including IpMatcher. It affects 2 products.

PackageAffectedFixed in
IpMatcher NuGetAll versions1.0.4.2
IpMatcher NuGetAll versions1.0.4.2

Products include Ipmatcher Project Ipmatcher, Watsonwebserver Project Watsonwebserver.

How do I fix CVE-2021-33318?

Upgrade IpMatcher to 1.0.4.2 or later.

Is CVE-2021-33318 being exploited?

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

Sources

Also known as GHSA-qj93-37f5-mr29.

Is CVE-2021-33318 in your software?

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

Check your SBOMs for free