CVE-2020-10595 Detail

Current Description

pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a buffer provided by the underlying Kerberos library by a single ‘’ byte if an attacker responds to a prompt with an answer of a carefully chosen length. The effect may range from heap corruption to stack corruption depending on the structure of the underlying Kerberos library, with unknown effects but possibly including code execution. This code path is not used for normal authentication, but only when the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.

Source:  MITRE
View Analysis Description

Analysis Description

pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a buffer provided by the underlying Kerberos library by a single ‘’ byte if an attacker responds to a prompt with an answer of a carefully chosen length. The effect may range from heap corruption to stack corruption depending on the structure of the underlying Kerberos library, with unknown effects but possibly including code execution. This code path is not used for normal authentication, but only when the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.

Source:  MITRE

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-120 Buffer Copy without Checking Size of Input (‘Classic Buffer Overflow’) NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )

 cpe:2.3:a:pam-krb5_project:pam-krb5:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
4.9

Configuration 2 ( hide )

Change History

3 change records found – show changes

Initial Analysis4/1/2020 4:56:34 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:pam-krb5_project:pam-krb5:*:*:*:*:*:*:*:* versions up to (excluding) 4.9
Added CPE Configuration
OR
     *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
     *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CWE
NIST CWE-120
Changed Reference Type
http://www.openwall.com/lists/oss-security/2020/03/31/1 No Types Assigned
http://www.openwall.com/lists/oss-security/2020/03/31/1 Mailing List, Patch, Third Party Advisory
Changed Reference Type
https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760 No Types Assigned
https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760 Patch, Third Party Advisory
Changed Reference Type
https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html Mailing List, Third Party Advisory
Changed Reference Type
https://www.debian.org/security/2020/dsa-4648 No Types Assigned
https://www.debian.org/security/2020/dsa-4648 Third Party Advisory

CVE Modified by MITRE4/1/2020 1:15:15 PM

Action Type Old Value New Value
Added Reference
https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html [No Types Assigned]

CVE Modified by MITRE3/31/2020 8:15:26 PM

Action Type Old Value New Value
Added Reference
https://www.debian.org/security/2020/dsa-4648 [No Types Assigned]

Quick Info

CVE Dictionary Entry:
CVE-2020-10595
NVD Published Date:
03/31/2020
NVD Last Modified:
04/01/2020