CVE-2021-29157
5.5
MEDIUM
CVSS 3.1
EPSS 0.76%
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.
How to fix CVE-2021-29157
To remediate CVE-2021-29157, upgrade the affected package to a fixed version below.
- Alpine/dovecot—upgrade to 2.3.15-r0 or later
- —upgrade to 1:2.3.13+dfsg1-2 or later
Is CVE-2021-29157 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.3.15-r0
- from 0, < 1:2.3.13+dfsg1-2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |