# Doctrine SQL injection vulnerability

Source: https://junglewise.ai/threats/doctrine-sql-injection-vulnerability-b6c2afa5  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-05-15  
License: CC BY 4.0 with a link back

Severity: info · Published 2024-05-15

Doctrine SQL injection vulnerability

Technologies: [doctrine/orm (Packagist)](https://junglewise.ai/threats/technologies/doctrine-orm). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 15 May 2024.

**Which products and versions are affected?** doctrine/orm (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.3.

**Is there a fix for This vulnerability?** Yes. doctrine/orm (Packagist): upgrade to 2.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run doctrine/orm (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- doctrine/orm (Packagist): upgrade to 2.0.3 or later

  ```sh
  composer require doctrine/orm:^2.0.3
  ```


## Affected products

- doctrine/orm (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.3

## Related threats

- [doctrine/orm Regression in Query Parenthesis can have Security Implications](https://junglewise.ai/threats/doctrine-orm-regression-in-query-parenthesis-can-have-security-3e5cb253)
- [Doctrine Security Misconfiguration Vulnerability](https://junglewise.ai/threats/cve-2015-5723-doctrine-security-misconfiguration-vulnerability)
