Bug 2058640 (CVE-2022-26126)

Summary: CVE-2022-26126 frrouting: Misusing strdup leads to stack overflow in isis_nb_notifications.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fhrdina, mruprich, tkorbar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: frrouting 8.2 Doc Type: If docs needed, set a value
Doc Text:
frrouting is vulnerable to a flaw that can cause stack overflow due to processing binary data as simple string data. Since c string data is not being processed when processing packets , correct binary aware functions should be used. There is high impact to availability due to the fact that the process up-time can be made unreliable.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2072474, 2072475, 2072476    
Bug Blocks: 2058651    

Description Pedro Sampaio 2022-02-25 14:13:37 UTC
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to the use of strdup with a non-zero-terminated binary string in isis_nb_notifications.c.

Upstream bug:

https://github.com/FRRouting/frr/issues/10505

Comment 1 devthomp 2022-04-06 11:28:07 UTC
Created frr tracking bugs for this issue:

Affects: fedora-all [bug 2072476]