7.5
HIGH
CVE-2021-29157
Dovecot OAuth2 Path Traversal Vulnerability
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.

INFO

Published Date :

June 28, 2021, 12:15 p.m.

Last Modified :

Nov. 7, 2023, 3:32 a.m.

Remotely Exploitable :

No

Impact Score :

5.8

Exploitability Score :

1.1
Affected Products

The following products are affected by CVE-2021-29157 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Dovecot dovecot
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-29157 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-29157 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/
  • Modified Analysis by [email protected]

    Sep. 20, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202107-41 No Types Assigned https://security.gentoo.org/glsa/202107-41 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* versions from (including) 2.3.11 up to (excluding) 2.3.15 OR *cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* versions from (including) 2.3.11 up to (excluding) 2.3.14.1
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 18, 2021

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202107-41 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 05, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 02, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://dovecot.org/security No Types Assigned https://dovecot.org/security Vendor Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2021/06/28/1 No Types Assigned https://www.openwall.com/lists/oss-security/2021/06/28/1 Mailing List, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* versions from (including) 2.3.11 up to (excluding) 2.3.15
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-29157 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.00%

score

0.14464

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability