CVE-2021-43608
PHP packages · CVE-2021-43608
Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.447% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:31.971Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:34.220Z | OSV |
| affected | verified | 2026-11-19T12:56:13.568Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:13.568Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/doctrine/dbal/releases",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T04:03:08.429Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-r7cj-8hjg-x622",
"aliases": [
"CVE-2021-43608"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.4"
}
]
}
],
"package": {
"name": "doctrine/dbal",
"purl": "pkg:composer/doctrine/dbal",
"ecosystem": "Packagist"
},
"versions": [
"3.0.0",
"3.1.0",
"3.1.1",
"3.1.2",
"3.1.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-r7cj-8hjg-x622/GHSA-r7cj-8hjg-x622.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43608",
"type": "ADVISORY"
},
{
"url": "https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/CVE-2021-43608.yaml",
"type": "WEB"
},
{
"url": "https://github.com/doctrine/dbal",
"type": "WEB"
},
{
"url": "https://github.com/doctrine/dbal/releases",
"type": "WEB"
},
{
"url": "https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2021-12-09T20:15:00Z",
"github_reviewed_at": "2021-11-15T22:34:32Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | doctrine/dbal | Not a distribution channel | 3.1.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:34.220ZArchived source JSON
Source publication: 2021-11-16T17:25:57.000Z
Source modification: 2026-07-08T06:28:09.549ZDocument fingerprint
4336be7788e73fde2e4e094eb10880e1363e3eae40d3fbb745a7bb2c77077e1e - CVE ProgramConsulted: 2026-11-19T12:56:13.568ZArchived source JSON
Source publication: 2021-12-09T19:02:59.000Z
Source modification: 2024-08-04T04:03:08.429ZDocument fingerprint
aa0193a6ca43ec84c114ac5fea23d6954257458bfc6b5911ba248594320ffed5 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:31.971ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3c1d14159dacc460022fe89f94f80269a255e1b71a5e13cea407b288f5187c5b
Official status history
- UNKNOWN → PUBLISHED · · evidence