GHSA-vjrg-wpm8-rhrw: Doctrine/orm Doctrine/orm Regression Vulnerability

HIGH
Published
Advisory Summary

GHSA-vjrg-wpm8-rhrw is a HIGH doctrine/orm regression vulnerability (General Security Weakness) affecting Doctrine/orm libraries in the Packagist ecosystem. The issue involves doctrine/orm regression in query parenthesis can have security implications. Remediation is available by upgrading affected packages to version 2.8.4.

GHSA-vjrg-wpm8-rhrw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vjrg-wpm8-rhrw
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Doctrine/orm
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-vjrg-wpm8-rhrw

To remediate this vulnerability, upgrade all affected Doctrine/orm 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/orm fixed: 2.8.4
Upgrade doctrine/orm to 2.8.4
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/orm

How to Check if You Are Affected

To determine whether your application is affected by GHSA-vjrg-wpm8-rhrw, inspect your project dependencies for Doctrine/orm:

inspect dependencies for doctrine/orm

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

An issue identified in doctrine/orm project related to statement in Where-Clause were not wrapped in brackets due to improper hadandling of case insensitive check.

GHSA-vjrg-wpm8-rhrw Affected Doctrine/orm Versions

1 component(s)
Fixed Versions:
2.8.4
Product / Package Ecosystem Affected Versions Fixed Version
doctrine/orm
Packagist
≥ 2.8.3
< 2.8.4
2.8.4

References

Frequently Asked Questions

What is GHSA-vjrg-wpm8-rhrw?
GHSA-vjrg-wpm8-rhrw is a security vulnerability in Doctrine/orm involving doctrine/orm Regression in Query Parenthesis can have Security Implications under General Security Weakness.
Which Doctrine/orm versions are affected?
Affected versions include releases prior to 2.8.4 across affected packages: doctrine/orm.
What version fixes GHSA-vjrg-wpm8-rhrw?
Upgrading to 2.8.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doctrine/orm affected?
Yes, doctrine/orm is affected in releases prior to 2.8.4. Upgrade your dependency to 2.8.4 or later.
What CWE is associated with GHSA-vjrg-wpm8-rhrw?
GHSA-vjrg-wpm8-rhrw is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-vjrg-wpm8-rhrw?
Run the dependency tree command: 'inspect dependencies for doctrine/orm'. 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-vjrg-wpm8-rhrw",
  "modified" : "2024-05-15T20:19:47Z",
  "published" : "2024-05-15T20:19:47Z",
  "aliases" : [ ],
  "summary" : "doctrine/orm Regression in Query Parenthesis can have Security Implications",
  "details" : "An issue identified in doctrine/orm project related to statement in Where-Clause were not wrapped in brackets due to improper hadandling of case insensitive check.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "doctrine/orm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.3"
      }, {
        "fixed" : "2.8.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/doctrine/orm/pull/8591"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/orm/2021-04-06.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/doctrine/orm"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T20:19:47Z",
    "nvd_published_at" : null
  }
}