Bug 1196506 (CVE-2022-26126)

Summary: VUL-0: CVE-2022-26126: frr: Misusing strdup leads to stack overflow in isis_nb_notifications.c
Product: [Novell Products] SUSE Security Incidents Reporter: Carlos López <carlos.lopez>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: mardnh, smash_bz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/324794/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-26126:8.2:(AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos López 2022-02-25 16:37:33 UTC
rh#2058640

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

References:
https://bugzilla.redhat.com/show_bug.cgi?id=2058640
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-26126
Comment 1 Carlos López 2022-02-25 16:40:31 UTC
Affected:
 - SUSE:SLE-15-SP3:Update
 - openSUSE:Factory

Work-in-progress PR:
https://github.com/FRRouting/frr/pull/10566
Comment 2 Marius Tomaschewski 2022-02-28 08:59:28 UTC
Thanks! Going to review and prepare update packages.
Comment 11 Swamp Workflow Management 2022-03-18 14:22:01 UTC
SUSE-SU-2022:0901-1: An update that solves 5 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1180217,1196503,1196504,1196505,1196506,1196507
CVE References: CVE-2022-26125,CVE-2022-26126,CVE-2022-26127,CVE-2022-26128,CVE-2022-26129
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Server Applications 15-SP4 (src):    frr-7.4-150300.4.3.1
SUSE Linux Enterprise Module for Server Applications 15-SP3 (src):    frr-7.4-150300.4.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2022-03-18 14:22:55 UTC
openSUSE-SU-2022:0901-1: An update that solves 5 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1180217,1196503,1196504,1196505,1196506,1196507
CVE References: CVE-2022-26125,CVE-2022-26126,CVE-2022-26127,CVE-2022-26128,CVE-2022-26129
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    frr-7.4-150300.4.3.1
openSUSE Leap 15.3 (src):    frr-7.4-150300.4.3.1
Comment 13 Carlos López 2022-06-10 09:05:05 UTC
Done, closing.