Vulnerability · Published Jun 28, 2021 · Assigned by mitre
CVE-2021-29157
High 7.5
In plain English
A high-severity security flaw in the dovecot package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 59.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | dovecot | 2.3.15-r0 | ALPINE-CVE-2021-29157 |
| Alpine:v3.21 | dovecot | 2.3.15-r0 | ALPINE-CVE-2021-29157 |
| Alpine:v3.22 | dovecot | 2.3.15-r0 | ALPINE-CVE-2021-29157 |
| Alpine:v3.23 | dovecot | 2.3.15-r0 | ALPINE-CVE-2021-29157 |
| Alpine:v3.24 | dovecot | 2.3.15-r0 | ALPINE-CVE-2021-29157 |
| Debian:12 | dovecot | 1:2.3.13+dfsg1-2 | DEBIAN-CVE-2021-29157 |
| Debian:13 | dovecot | 1:2.3.13+dfsg1-2 | DEBIAN-CVE-2021-29157 |
| Debian:14 | dovecot | 1:2.3.13+dfsg1-2 | DEBIAN-CVE-2021-29157 |
Affected products (as reported)
References
- https://dovecot.org/security x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/06/28/1 x_refsource_CONFIRM
- FEDORA-2021-208340a217 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-891c1ab1ac vendor-advisory, x_refsource_FEDORA
- GLSA-202107-41 vendor-advisory, x_refsource_GENTOO