ID CVE-2019-17185
Summary In FreeRADIUS 3.0.x before 3.0.20, the EAP-pwd module used a global OpenSSL BN_CTX instance to handle all handshakes. This mean multiple threads use the same BN_CTX instance concurrently, resulting in crashes when concurrent EAP-pwd handshakes are initiated. This can be abused by an adversary as a Denial-of-Service (DoS) attack.
References
Vulnerable Configurations
  • cpe:2.3:a:freeradius:freeradius:3.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.0:beta0:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:beta0:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.4:-:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.4:-:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.4:rc0:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.4:rc0:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.4:rc1:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.4:rc1:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.4:rc2:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.4:rc2:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.7:-:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.7:-:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.7:rc0:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.7:rc0:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:3.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:3.0.19:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
    cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 22-04-2022 - 19:04)
Impact:
Exploitability:
CWE CWE-662
CAPEC
  • Leveraging Race Conditions via Symbolic Links
    This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to her. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file she will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.
  • Forced Deadlock
    The adversary triggers and exploits a deadlock condition in the target software to cause a denial of service. A deadlock can occur when two or more competing actions are waiting for each other to finish, and thus neither ever does. Deadlock conditions can be difficult to detect.
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
redhat via4
advisories
  • bugzilla
    id 1816680
    title CVE-2019-17185 freeradius: eap-pwd: DoS issues due to multithreaded BN_CTX access
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 7 is installed
        oval oval:com.redhat.rhba:tst:20150364027
      • OR
        • AND
          • comment freeradius is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984001
          • comment freeradius is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881002
        • AND
          • comment freeradius-devel is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984003
          • comment freeradius-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581004
        • AND
          • comment freeradius-doc is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984005
          • comment freeradius-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581006
        • AND
          • comment freeradius-krb5 is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984007
          • comment freeradius-krb5 is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881004
        • AND
          • comment freeradius-ldap is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984009
          • comment freeradius-ldap is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881006
        • AND
          • comment freeradius-mysql is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984011
          • comment freeradius-mysql is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881008
        • AND
          • comment freeradius-perl is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984013
          • comment freeradius-perl is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881010
        • AND
          • comment freeradius-postgresql is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984015
          • comment freeradius-postgresql is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881012
        • AND
          • comment freeradius-python is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984017
          • comment freeradius-python is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881014
        • AND
          • comment freeradius-sqlite is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984019
          • comment freeradius-sqlite is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581020
        • AND
          • comment freeradius-unixODBC is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984021
          • comment freeradius-unixODBC is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881016
        • AND
          • comment freeradius-utils is earlier than 0:3.0.13-15.el7
            oval oval:com.redhat.rhsa:tst:20203984023
          • comment freeradius-utils is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881018
    rhsa
    id RHSA-2020:3984
    released 2020-09-29
    severity Moderate
    title RHSA-2020:3984: freeradius security and bug fix update (Moderate)
  • bugzilla
    id 1859527
    title freeradius can't generate dhparams with OpenSSL in FIPS
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 8 is installed
        oval oval:com.redhat.rhba:tst:20193384074
      • comment Module freeradius:3.0 is enabled
        oval oval:com.redhat.rhsa:tst:20191142027
      • OR
        • AND
          • comment freeradius is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799001
          • comment freeradius is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881002
        • AND
          • comment freeradius-debugsource is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799003
          • comment freeradius-debugsource is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20191142004
        • AND
          • comment freeradius-devel is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799005
          • comment freeradius-devel is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581004
        • AND
          • comment freeradius-doc is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799007
          • comment freeradius-doc is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581006
        • AND
          • comment freeradius-krb5 is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799009
          • comment freeradius-krb5 is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881004
        • AND
          • comment freeradius-ldap is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799011
          • comment freeradius-ldap is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881006
        • AND
          • comment freeradius-mysql is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799013
          • comment freeradius-mysql is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881008
        • AND
          • comment freeradius-perl is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799015
          • comment freeradius-perl is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881010
        • AND
          • comment freeradius-postgresql is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799017
          • comment freeradius-postgresql is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881012
        • AND
          • comment freeradius-rest is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799019
          • comment freeradius-rest is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20191142020
        • AND
          • comment freeradius-sqlite is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799021
          • comment freeradius-sqlite is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20171581020
        • AND
          • comment freeradius-unixODBC is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799023
          • comment freeradius-unixODBC is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881016
        • AND
          • comment freeradius-utils is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799025
          • comment freeradius-utils is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhba:tst:20120881018
        • AND
          • comment python3-freeradius is earlier than 0:3.0.20-3.module+el8.3.0+7597+67902674
            oval oval:com.redhat.rhsa:tst:20204799027
          • comment python3-freeradius is signed with Red Hat redhatrelease2 key
            oval oval:com.redhat.rhsa:tst:20204799028
    rhsa
    id RHSA-2020:4799
    released 2020-11-04
    severity Moderate
    title RHSA-2020:4799: freeradius:3.0 security and bug fix update (Moderate)
rpms
  • freeradius-0:3.0.13-15.el7
  • freeradius-debuginfo-0:3.0.13-15.el7
  • freeradius-devel-0:3.0.13-15.el7
  • freeradius-doc-0:3.0.13-15.el7
  • freeradius-krb5-0:3.0.13-15.el7
  • freeradius-ldap-0:3.0.13-15.el7
  • freeradius-mysql-0:3.0.13-15.el7
  • freeradius-perl-0:3.0.13-15.el7
  • freeradius-postgresql-0:3.0.13-15.el7
  • freeradius-python-0:3.0.13-15.el7
  • freeradius-sqlite-0:3.0.13-15.el7
  • freeradius-unixODBC-0:3.0.13-15.el7
  • freeradius-utils-0:3.0.13-15.el7
  • freeradius-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-debugsource-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-devel-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-doc-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-krb5-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-krb5-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-ldap-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-ldap-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-mysql-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-mysql-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-perl-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-perl-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-postgresql-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-postgresql-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-rest-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-rest-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-sqlite-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-sqlite-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-unixODBC-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-unixODBC-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-utils-0:3.0.20-3.module+el8.3.0+7597+67902674
  • freeradius-utils-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
  • python3-freeradius-0:3.0.20-3.module+el8.3.0+7597+67902674
  • python3-freeradius-debuginfo-0:3.0.20-3.module+el8.3.0+7597+67902674
refmap via4
confirm https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_0_20
misc https://freeradius.org/security/
suse openSUSE-SU-2020:0553
Last major update 22-04-2022 - 19:04
Published 21-03-2020 - 01:15
Last modified 22-04-2022 - 19:04
Back to Top