7.5high
Dovecot before 2.3.15 allows ../ Path Traversal.
- Severity
- 7.5high CVSS:3.1 by mitre
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| dovecot dovecot | from 2.3.11 before 2.3.14.1 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
All scores
| mitre | 7.5high CVSS:3.1 | CVSS:3.1/AC:H/AV:L/A:N/C:H/I:H/PR:L/S:C/UI:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Dovecot versiones anteriores a 2.3.15, permite un Salto de Ruta ../. Un atacante con acceso al sistema de archivos local puede engañar a la autenticación OAuth2 en usar una clave de comprobación HS256 desde una ubicación controlada por el atacante. Esto ocurre durante el uso de la comprobación JWT local con el controlador posix fs
References
| https://dovecot.org/security | vendor-advisory | |
| https://www.openwall.com/lists/oss-security/2021/06/28/1 | mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202107-41 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29157 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29157 changed 2026-06-17 | Public domain |