GHSA-9f2c-xxfm-32mj: Personnummer Duplicate Of GHSA-4xh4-v2pq-jvhm Vulnerability

LOW
Published
Advisory Summary

GHSA-9f2c-xxfm-32mj is a LOW duplicate of ghsa-4xh4-v2pq-jvhm vulnerability (General Security Weakness) affecting Personnummer libraries in the Pub ecosystem. The issue involves duplicate of ghsa-4xh4-v2pq-jvhm. Remediation is available by upgrading affected packages to version 3.0.3.

GHSA-9f2c-xxfm-32mj at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9f2c-xxfm-32mj
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Personnummer
Package Ecosystem Pub
Published Date
Last Updated

How to Fix GHSA-9f2c-xxfm-32mj

To remediate this vulnerability, upgrade all affected Personnummer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

personnummer fixed: 3.0.3
Upgrade personnummer to 3.0.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for personnummer

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9f2c-xxfm-32mj, inspect your project dependencies for Personnummer:

inspect dependencies for personnummer

Analyze the terminal output to locate any version of Personnummer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Personnummer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of [GHSA-4xh4-v2pq-jvhm](https://github.com/advisories/GHSA-4xh4-v2pq-jvhm). This link is maintained to preserve external references. ## Original 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.

GHSA-9f2c-xxfm-32mj Affected Personnummer Versions

1 component(s)
Fixed Versions:
3.0.3
Product / Package Ecosystem Affected Versions Fixed Version
personnummer
Pub
< 3.0.3
3.0.3

References

Frequently Asked Questions

What is GHSA-9f2c-xxfm-32mj?
GHSA-9f2c-xxfm-32mj is a security vulnerability in Personnummer involving Duplicate of GHSA-4xh4-v2pq-jvhm under General Security Weakness.
Which Personnummer versions are affected?
Affected versions include releases prior to 3.0.3 across affected packages: personnummer.
What version fixes GHSA-9f2c-xxfm-32mj?
Upgrading to 3.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is personnummer affected?
Yes, personnummer is affected in releases prior to 3.0.3. Upgrade your dependency to 3.0.3 or later.
What CWE is associated with GHSA-9f2c-xxfm-32mj?
GHSA-9f2c-xxfm-32mj is classified under General Security Weakness.
How can I check Pub dependencies for GHSA-9f2c-xxfm-32mj?
Run the dependency tree command: 'inspect dependencies for personnummer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9f2c-xxfm-32mj",
  "modified" : "2023-01-11T18:58:40Z",
  "published" : "2023-01-11T06:30:20Z",
  "withdrawn" : "2023-01-11T18:58:40Z",
  "aliases" : [ ],
  "summary" : "Duplicate of GHSA-4xh4-v2pq-jvhm",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of [GHSA-4xh4-v2pq-jvhm](https://github.com/advisories/GHSA-4xh4-v2pq-jvhm). This link is maintained to preserve external references.\n\n## Original Description\n\nThe personnummer implementation before 3.0.3 for Dart mishandles numbers in which the last four digits match the ^000[0-9]$ regular expression.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Pub",
      "name" : "personnummer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/personnummer/dart/security/advisories/GHSA-4xh4-v2pq-jvhm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-22963"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-4xh4-v2pq-jvhm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-11T18:58:40Z",
    "nvd_published_at" : "2023-01-11T06:15:00Z"
  }
}