CVE-2020-25721: Input Validation

Published Nov 10, 2021
·
Updated

As per upstream report:

In order to avoid issues like CVE-2020-25717 AD Kerberos accepting services need access to unique, and ideally long-term stable identifiers of a user to perform authorization.

The AD PAC provides this, but the most useful information is kept in a buffer which is NDR encoded, which means that so far in Free Software only Samba and applications which use Samba components under the hood like FreeIPA and SSSD decode PAC.

Recognising that the issues seen in Samba are not unique, Samba now provides an extension to UPNDNSINFO, a component of the AD PAC, in a way that can be parsed using basic pointer handling.

From this, future non-Samba based Kerberised applications can easily obtain the user's SID, in the same packing as objectSID in LDAP, confident that the ticket represents a specific user, not matter subsequent renames.

This will allow such non-Samba applications to avoid confusing one Kerberos user for another, even if they have the same string name (due to the gap between time of ticket printing by the KDC and time of ticket acceptance).

Other sources

Kerberos acceptors need easy access to stable AD identifiers (eg objectSid). Samba as an AD DC now provides a way for Linux applications to obtain a reliable SID (and samAccountName) in issued tickets.

Launchpad

Affected Software

7 affected componentsFixes available
redhat/samba<4.15.2
4.15.2
redhat/samba<4.14.10
4.14.10
redhat/samba<4.13.14
4.13.14
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.17.12+dfsg-0+deb12u12:4.21.1+dfsg-2
Samba Samba>=4.13.0<4.13.14
Samba Samba>=4.14.0<4.14.10
Samba Samba>=4.15.0<4.15.2

Event History

Mar 16, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:46 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:24 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2020-25721.

2

What is the severity of CVE-2020-25721?

The severity of CVE-2020-25721 is high with a CVSS score of 8.8.

3

What software versions are affected by CVE-2020-25721?

Samba versions 4.13.0 to 4.13.14, 4.14.0 to 4.14.10, and 4.15.0 to 4.15.2 are affected.

4

How can Linux applications obtain a reliable SID and samAccountName in issued tickets with Samba?

Samba as an Active Directory Domain Controller provides a way for Linux applications to obtain a reliable SID and samAccountName in issued tickets.

5

Where can I find more information about CVE-2020-25721?

You can find more information about CVE-2020-25721 in the following references: [Bugzilla Red Hat](https://bugzilla.redhat.com/show_bug.cgi?id=2021728), [Bugzilla Samba](https://bugzilla.samba.org/show_bug.cgi?id=14725), [Gentoo Security](https://security.gentoo.org/glsa/202309-06).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203