CVE-2023-22963 personnummer/dart vulnerable to Improper Input Validation

Medium 5.3 Published Updated

A logic error in the Dart personnummer library mishandles specific number formats, potentially leading to incorrect validation results.

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

What is CVE-2023-22963?

CVE-2023-22963 is a medium-severity vulnerability in n/a, published on 11 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The personnummer implementation before 3.0.3 for Dart mishandles numbers in which the last four digits match the ^000[0-9]$ regular expression.

Weakness: CWE-20

Which versions are affected by CVE-2023-22963?

2 open source packages ship an affected version, including personnummer. It affects 1 product.

PackageAffectedFixed in
personnummer PubAll versions3.0.3
personnummer PubAll versions3.0.3

Products include Personnummer Personnummer.

How do I fix CVE-2023-22963?

Upgrade personnummer to 3.0.3 or later.

Is CVE-2023-22963 being exploited?

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

Sources

Also known as GHSA-4xh4-v2pq-jvhm.

Is CVE-2023-22963 in your software?

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

Check your SBOMs for free