Buffer Overflow Write when libntlm generates NTLM request

Bug #1847701 reported by Kirin
258
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libntlm (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

CVE-2019-17455:
Libntlm through 1.5 relies on a fixed buffer size for tSmbNtlmAuthRequest, tSmbNtlmAuthChallenge, and tSmbNtlmAuthResponse read and write operations, as demonstrated by a stack-based buffer over-read in buildSmbNtlmAuthRequest in smbutil.c for a crafted NTLM request.

For further information see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17455
https://gitlab.com/jas/libntlm/issues/2

CVE References

Kirin (kirin-say)
affects: apng2gif (Ubuntu) → libntlm (Ubuntu)
information type: Private Security → Public Security
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures

tags: added: community-security
Revision history for this message
Alex (afsonos) wrote :

Heya!

Looks like upstream got this back in april.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942145;msg=12

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This was never in impish or later.
And fixed for active releases:
1.5-2ubuntu0.1) focal-security
1.4-8ubuntu0.1) bionic-security

Those uploads are available since ~October 2021, so it was just this bug that the security team wasn't aware of I guess.

Changed in libntlm (Ubuntu):
status: New → Fix Released
Changed in libntlm (Ubuntu Bionic):
status: New → Fix Released
Changed in libntlm (Ubuntu Focal):
status: New → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.