CVE-2023-25565 GSS-NTLMSSP vulnerable to incorrect free when decoding target information
HighCVSS 7.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that implements NTLM authentication. Prior to version 1.2.0, an incorrect free when decoding target information can trigger a denial of service. The error condition incorrectly assumes the cb and sh buffers contain a copy of the data that needs to be freed. However, that is not the case. This vulnerability can be triggered via the main gss_accept_sec_context entry point. This will likely trigger an assertion failure in free, causing a denial-of-service. This issue is fixed in version 1.2.0.
Upgrade path
10 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/gss-ntlmssp(Debian 12) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| debian/gss-ntlmssp(Debian 13) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| debian/gss-ntlmssp(Debian 14) | < 1.2.0-1 | 1.2.0-1 | Fixed |
| gss-ntlmssp project gss-ntlmssp | < 1.2.0 | 1.2.0 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu 22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 16.04) | < 0.7.0-3~ubuntu0.16.04.1+esm1; = 0.6.0-1; = 0.7.0-3~ubuntu0.16.04.1 | 0.7.0-3~ubuntu0.16.04.1+esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 18.04) | < 0.7.0-4ubuntu0.18.04.1~esm1; = 0.7.0-3; = 0.7.0-4; = 0.7.0-4build1 +1 more | 0.7.0-4ubuntu0.18.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 20.04) | < 0.7.0-4ubuntu0.20.04.1~esm1; = 0.7.0-4build3 | 0.7.0-4ubuntu0.20.04.1~esm1 | Fixed |
| ubuntu/gss-ntlmssp(Ubuntu Pro 22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1; = 0.7.0-4build3; = 0.7.0-4build4 | 0.7.0-4ubuntu0.22.04.1~esm1 | Fixed |
| gssapi gss-ntlmssp | = < 1.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gss-ntlmssp(Debian:12) | < 1.2.0-1 | 1.2.0-1 |
| debian/gss-ntlmssp(Debian:13) | < 1.2.0-1 | 1.2.0-1 |
| debian/gss-ntlmssp(Debian:14) | < 1.2.0-1 | 1.2.0-1 |
| gssapi gss-ntlmssp | = < 1.2.0 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 |
| gss-ntlmssp project gss-ntlmssp | < 1.2.0 | 1.2.0 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | < 0.7.0-3~ubuntu0.16.04.1+esm1 | 0.7.0-3~ubuntu0.16.04.1+esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | = 0.6.0-1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:16.04) | = 0.7.0-3~ubuntu0.16.04.1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | < 0.7.0-4ubuntu0.18.04.1~esm1 | 0.7.0-4ubuntu0.18.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4build1 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:18.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:20.04) | < 0.7.0-4ubuntu0.20.04.1~esm1 | 0.7.0-4ubuntu0.20.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:20.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | < 0.7.0-4ubuntu0.22.04.1~esm1 | 0.7.0-4ubuntu0.22.04.1~esm1 |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | = 0.7.0-4build3 | No fix listed |
| ubuntu/gss-ntlmssp(Ubuntu:Pro:22.04) | = 0.7.0-4build4 | No fix listed |
References
- Debian Security Tracker CVE-2023-25565 vendor-advisory
- https://github.com/gssapi/gss-ntlmssp/security/advisories/GHSA-7q7f-wqcg-mvfg issue-tracking third-party-advisory
- https://github.com/gssapi/gss-ntlmssp/commit/c16100f60907a2de92bcb676f303b81facee0f64 issue-tracking patch third-party-advisory
- https://github.com/gssapi/gss-ntlmssp/releases/tag/v1.2.0 third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7588-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking