MediumFix available
dovecot — security advisory
Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver.
- Products
- dovecot
- Affected versions
- Not specified
- Fixed versions
- 1:2.3.13+dfsg1-2
- CVEs
- CVE-2021-29157
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:01 UTC · Revision 1
Source evidence
Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver.
osv:DEBIAN-CVE-2021-29157
dovecot
Fixed versions: 1:2.3.13+dfsg1-2
dovecot
Fixed versions: 1:2.3.13+dfsg1-2
dovecot
Fixed versions: 1:2.3.13+dfsg1-2
Complete source record
{
"id": "667ab0532c14a4d506815a43f5d2d8cf3b570e39c4f48c26e6810bcca202110a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-29157",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-29157",
"summary": "Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver.",
"evidence": "osv:DEBIAN-CVE-2021-29157",
"products": [
{
"name": {
"value": "dovecot",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.3.13+dfsg1-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "dovecot",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.3.13+dfsg1-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "dovecot",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:2.3.13+dfsg1-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-29157",
"aliases": [
"DEBIAN-CVE-2021-29157"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.13+dfsg1-2"
}
]
}
],
"package": {
"name": "dovecot",
"purl": "pkg:deb/debian/dovecot?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-29157.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.13+dfsg1-2"
}
]
}
],
"package": {
"name": "dovecot",
"purl": "pkg:deb/debian/dovecot?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-29157.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.13+dfsg1-2"
}
]
}
],
"package": {
"name": "dovecot",
"purl": "pkg:deb/debian/dovecot?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-29157.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:02:46.983967501Z",
"provider": "osv",
"upstream": [
"CVE-2021-29157"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-29157"
]
},
"related_cves": [
{
"value": "CVE-2021-29157",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419701,
"published_at": "2021-06-28T12:15:08.647+00:00"
}