Vulnerability Name:

CVE-2020-25584 (CCN-199688)

Published:2021-04-06
Updated:2021-06-03
Summary:In FreeBSD 13.0-STABLE before n245118, 12.2-STABLE before r369552, 11.4-STABLE before r369560, 13.0-RC5 before p1, 12.2-RELEASE before p6, and 11.4-RELEASE before p9, a superuser inside a FreeBSD jail configured with the non-default allow.mount permission could cause a race condition between the lookup of ".." and remounting a filesystem, allowing access to filesystem hierarchy outside of the jail.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.2 Medium (CVSS v2 Vector: AV:L/AC:H/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-362
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2020-25584

Source: XF
Type: UNKNOWN
freebsd-cve202025584-sec-bypass(199688)

Source: MISC
Type: Vendor Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-21:10.jail_mount.asc

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

Source: CCN
Type: FreeBSD Security Advisory FreeBSD-SA-21:10.jail_mount
jail escape possible by mounting over jail root

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:*:*:*:*:*:*:*:* (Version < 11.4)
  • OR cpe:/o:freebsd:freebsd:11.4:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:beta1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:rc1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:rc2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:*:*:*:*:*:*:*:* (Version >= 12.0 and < 12.2)
  • OR cpe:/o:freebsd:freebsd:12.2:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.2:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:rc5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:rc1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:rc2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:rc4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:beta1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:beta2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:beta3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:beta4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:13.0:rc3:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:-:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd *
    freebsd freebsd 11.4 -
    freebsd freebsd 11.4 beta1
    freebsd freebsd 11.4 p1
    freebsd freebsd 11.4 p2
    freebsd freebsd 11.4 p3
    freebsd freebsd 11.4 p4
    freebsd freebsd 11.4 p5
    freebsd freebsd 11.4 rc1
    freebsd freebsd 11.4 rc2
    freebsd freebsd *
    freebsd freebsd 12.2 -
    freebsd freebsd 12.2 p1
    freebsd freebsd 12.2 p2
    freebsd freebsd 13.0 rc5
    freebsd freebsd 13.0 rc1
    freebsd freebsd 13.0 rc2
    freebsd freebsd 13.0 rc4
    freebsd freebsd 13.0 beta1
    freebsd freebsd 13.0 beta2
    freebsd freebsd 13.0 beta3
    freebsd freebsd 13.0 beta4
    freebsd freebsd 13.0 rc3
    freebsd freebsd -