Bug 1214577 (CVE-2020-18770)

Summary: VUL-0: CVE-2020-18770: zziplib: denial-of-service in function zzip_disk_entry_to_file_header in mmapped.c
Product: [Novell Products] SUSE Security Incidents Reporter: Alexander Bergmann <abergmann>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P3 - Medium CC: rfrohl, security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/375940/
Whiteboard: CVSSv3.1:SUSE:CVE-2020-18770:3.3:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Bergmann 2023-08-24 12:17:08 UTC
CVE-2020-18770

An issue was discovered in function zzip_disk_entry_to_file_header in mmapped.c
in zziplib 0.13.69, which will lead to a denial-of-service.

No upstream fix available.

The reproducer inside the zziplib issue does not trigger an SEGV without AddressSanitizer being enabled.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-18770
https://www.cve.org/CVERecord?id=CVE-2020-18770
https://github.com/gdraheim/zziplib/issues/69
Comment 1 Valentin Lefebvre 2023-09-20 14:03:15 UTC
The issue looks to be on upstream also. I create a PullRequest on the project ( see https://github.com/gdraheim/zziplib/pull/149) that fix the potential ASan error read memory due to a pointer overflow.
I will wait some feedback on it, and if there aren't, I will push the patch in Factory and backport to IBS.
Comment 4 Valentin Lefebvre 2024-03-21 16:07:16 UTC
Everything accepted, should be fixed now.
Reassigning to security team. Don't hesitate to reassign to me if needed.
Comment 5 Maintenance Automation 2024-03-22 12:30:35 UTC
SUSE-SU-2024:0970-1: An update that solves two vulnerabilities and has one security fix can now be installed.

Category: security (moderate)
Bug References: 1154002, 1187526, 1214577
CVE References: CVE-2020-18442, CVE-2020-18770
Maintenance Incident: [SUSE:Maintenance:13903](https://smelt.suse.de/incident/13903/)
Sources used:
openSUSE Leap 15.5 (src):
 zziplib-0.13.69-150000.3.17.1
Basesystem Module 15-SP5 (src):
 zziplib-0.13.69-150000.3.17.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 6 Maintenance Automation 2024-03-22 12:30:49 UTC
SUSE-SU-2024:0961-1: An update that solves one vulnerability can now be installed.

Category: security (low)
Bug References: 1214577
CVE References: CVE-2020-18770
Maintenance Incident: [SUSE:Maintenance:32896](https://smelt.suse.de/incident/32896/)
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src):
 zziplib-0.13.67-10.36.1
SUSE Linux Enterprise Workstation Extension 12 12-SP5 (src):
 zziplib-0.13.67-10.36.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 7 Robert Frohl 2024-05-28 08:41:44 UTC
done, closing