Vulnerability Name:

CVE-2021-25742 (CCN-211838)

Assigned:2021-10-21
Published:2021-10-21
Updated:2021-12-15
Summary:A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
CVSS v3 Severity:7.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N)
6.2 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): Low
Availibility (A): None
7.6 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L)
6.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:5.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
8.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2021-25742

Source: XF
Type: UNKNOWN
kubernetes-cve202125742-info-disc(211838)

Source: CCN
Type: ingress-nginx GIT Repository
CVE-2021-25742: Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces #7837

Source: CONFIRM
Type: Exploit, Issue Tracking, Mitigation, Third Party Advisory
N/A

Source: MLIST
Type: Mailing List, Mitigation, Third Party Advisory
N/A

Source: CCN
Type: oss-sec Mailing List, Thu, 21 Oct 2021 09:26:08 -0700
[kubernetes] CVE-2021-25742: Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20211203-0001/

Source: CCN
Type: IBM Security Bulletin 6574499 (Cloud Private)
Security Vulnerabilities affect IBM Cloud Private - Kubernetes (CVE-2021-25742)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-25742

Vulnerable Configuration:Configuration 1:
  • cpe:/a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:* (Version < 0.49.1)
  • OR cpe:/a:kubernetes:ingress-nginx:1.0.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:netapp:trident:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:ibm:cloud_private:3.2.1:cd:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_private:3.2.2:cd:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:113336
    P
    rke-1.3.3-1.1 on GA media (Moderate)
    2022-01-17
    BACK
    kubernetes ingress-nginx *
    kubernetes ingress-nginx 1.0.0
    netapp trident -
    ibm cloud private 3.2.1 cd
    ibm cloud private 3.2.2 cd