GHSA-9wv8-3h8h-x2wc: Doctrine/doctrine module Doctrine/doctrine-module Zero-valued Authentication Credentials Vulnerability Vulnerability

MODERATE
CVSS 6.5
Published
Advisory Summary

GHSA-9wv8-3h8h-x2wc is a MODERATE (CVSS 6.5) doctrine/doctrine-module zero-valued authentication credentials vulnerability vulnerability (General Security Weakness) affecting Doctrine/doctrine module libraries in the Packagist ecosystem. The issue involves doctrine/doctrine-module zero-valued authentication credentials vulnerability. Remediation is available by upgrading affected packages to version 0.7.2.

GHSA-9wv8-3h8h-x2wc at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9wv8-3h8h-x2wc
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification General Security Weakness
Affected Product Doctrine/doctrine module
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-9wv8-3h8h-x2wc

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

doctrine/doctrine-module fixed: 0.7.2
Upgrade doctrine/doctrine-module to 0.7.2
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 doctrine/doctrine-module

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9wv8-3h8h-x2wc, inspect your project dependencies for Doctrine/doctrine module:

inspect dependencies for doctrine/doctrine-module

Analyze the terminal output to locate any version of Doctrine/doctrine module in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.2), 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 Doctrine/doctrine module, 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

it is possible (under certain circumstances) to obtain a valid `Zend\Authentication` identity even without knowing the user's credentials by using a numerically valued credential in `DoctrineModule\Authentication\Adapter\ObjectRepository`.

GHSA-9wv8-3h8h-x2wc Affected Doctrine/doctrine module Versions

1 component(s)
Fixed Versions:
0.7.2
Product / Package Ecosystem Affected Versions Fixed Version
doctrine/doctrine-module
Packagist
< 0.7.2
0.7.2

References

Frequently Asked Questions

What is GHSA-9wv8-3h8h-x2wc?
GHSA-9wv8-3h8h-x2wc is a security vulnerability in Doctrine/doctrine module involving doctrine/doctrine-module zero-valued authentication credentials vulnerability under General Security Weakness.
Which Doctrine/doctrine module versions are affected?
Affected versions include releases prior to 0.7.2 across affected packages: doctrine/doctrine-module.
What version fixes GHSA-9wv8-3h8h-x2wc?
Upgrading to 0.7.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doctrine/doctrine-module affected?
Yes, doctrine/doctrine-module is affected in releases prior to 0.7.2. Upgrade your dependency to 0.7.2 or later.
What is the CVSS score of GHSA-9wv8-3h8h-x2wc?
GHSA-9wv8-3h8h-x2wc has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with GHSA-9wv8-3h8h-x2wc?
GHSA-9wv8-3h8h-x2wc is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-9wv8-3h8h-x2wc?
Run the dependency tree command: 'inspect dependencies for doctrine/doctrine-module'. 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-9wv8-3h8h-x2wc",
  "modified" : "2024-05-15T18:45:10Z",
  "published" : "2024-05-15T18:45:10Z",
  "aliases" : [ ],
  "summary" : "doctrine/doctrine-module zero-valued authentication credentials vulnerability",
  "details" : "it is possible (under certain circumstances) to obtain a valid `Zend\\Authentication` identity even without knowing the user's credentials by using a numerically valued credential in `DoctrineModule\\Authentication\\Adapter\\ObjectRepository`.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "doctrine/doctrine-module"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/doctrine/DoctrineModule/issues/248"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doctrine/DoctrineModule/issues/249"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doctrine/DoctrineModule/commit/78018ef568c52e65a0b17e7bd5a4c90fe6673e84"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/doctrine-module/2013-05-16.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/doctrine/DoctrineModule"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T18:45:10Z",
    "nvd_published_at" : null
  }
}