Improper Input Validation Affecting ipmatcher package, versions [,1.0.4.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.24% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-IPMATCHER-2826196
  • published17 May 2022
  • disclosed17 May 2022
  • creditHarold Hunt, Kelly Kaoudis, Sick Codes, ohn Jackson, Victor Viale, Nick Sahler, Cheng Xu

Introduced: 17 May 2022

CVE-2021-33318  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade IpMatcher to version 1.0.4.2 or higher.

Overview

IpMatcher is a C# library for maintaining a match list of IP addresses and networks and comparing inputs to see if a match exists.

Affected versions of this package are vulnerable to Improper Input Validation due to insufficient validation of input IP addresses and netmasks against the internal Matcher list of IP addresses and subnets. Furthermore, IpMatcher does not correctly reformat additions to the match list when these additions (IP address or netmask or both) are supplied in octal or hexadecimal notation.

References

CVSS Scores

version 3.1