Bug 1184751 - (CVE-2021-30499) VUL-0: CVE-2021-30499: libcaca: Global buffer overflow of export.c in function export_troff
(CVE-2021-30499)
VUL-0: CVE-2021-30499: libcaca: Global buffer overflow of export.c in functio...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/281631/
CVSSv3.1:SUSE:CVE-2021-30499:9.8:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-14 15:06 UTC by Alexander Bergmann
Modified: 2022-03-29 12:23 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2021-04-14 15:06:37 UTC
rh#1948679

A flaw was found in libcaca. A buffer overflow of export.c in function export_troff might lead to memory corruption and other potential consequences.

Upstream issue:

https://github.com/cacalabs/libcaca/issues/54

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1948679
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-30499
Comment 1 Josef Möllers 2021-04-19 10:35:04 UTC
See https://build.opensuse.org/request/show/886556
Comment 2 Gianluca Gabrielli 2022-03-02 14:08:14 UTC
Hi Josef,

I'm sorry, but the reporter hasn't done any analysis and hasn't provided you with the instruction about what codestream requires a submission.

The following packages are all affected, please submit the patch ASAP:

 - SUSE:SLE-11:Update/libcaca      0.99.beta13b
 - SUSE:SLE-12:Update/libcaca      0.99.beta18
 - SUSE:SLE-15-SP2:Update/libcaca  0.99.beta19.git20171003
 - SUSE:SLE-15:Update/libcaca      0.99.beta19.git20171003

The upstream patch can be found here [0], and it also fix CVE-2021-30498 (bsc#1184752). Hence, please mention both CVEs/bsc# in the change files. 

[0] https://github.com/cacalabs/libcaca/commit/ab04483ee1a846d6b74b2e6248e980152baec3f6
Comment 4 Josef Möllers 2022-03-03 15:48:58 UTC
SUSE:SLE-11:Update - https://build.suse.de/request/show/266563
SUSE:SLE-12:Update - https://build.suse.de/request/show/266577
SUSE:SLE-15-SP2:Update/libcaca - https://build.suse.de/request/show/266579
SUSE:SLE-15:Update/libcaca - https://build.suse.de/request/show/266583
Comment 5 Swamp Workflow Management 2022-03-08 17:23:31 UTC
SUSE-SU-2022:0754-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 1182731,1184751,1184752
CVE References: CVE-2021-30498,CVE-2021-30499,CVE-2021-3410
JIRA References: 
Sources used:
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise Server for SAP 15 (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise Server 15-LTSS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE Enterprise Storage 6 (src):    libcaca-0.99.beta19.git20171003-3.8.1
SUSE CaaS Platform 4.0 (src):    libcaca-0.99.beta19.git20171003-3.8.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 Swamp Workflow Management 2022-03-09 14:25:02 UTC
SUSE-SU-2022:0769-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1184751,1184752
CVE References: CVE-2021-30498,CVE-2021-30499
JIRA References: 
Sources used:
SUSE Manager Server 4.1 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Manager Retail Branch Server 4.1 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Manager Proxy 4.1 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Realtime Extension 15-SP2 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Module for Basesystem 15-SP4 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    libcaca-0.99.beta19.git20171003-11.3.1
SUSE Enterprise Storage 7 (src):    libcaca-0.99.beta19.git20171003-11.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 7 Swamp Workflow Management 2022-03-09 14:26:16 UTC
openSUSE-SU-2022:0769-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1184751,1184752
CVE References: CVE-2021-30498,CVE-2021-30499
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    libcaca-0.99.beta19.git20171003-11.3.1
openSUSE Leap 15.3 (src):    libcaca-0.99.beta19.git20171003-11.3.1
Comment 8 Swamp Workflow Management 2022-03-14 17:23:37 UTC
SUSE-SU-2022:0820-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1184751,1184752
CVE References: CVE-2021-30498,CVE-2021-30499
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    libcaca-0.99.beta18-14.6.1
SUSE OpenStack Cloud Crowbar 8 (src):    libcaca-0.99.beta18-14.6.1
SUSE OpenStack Cloud 9 (src):    libcaca-0.99.beta18-14.6.1
SUSE OpenStack Cloud 8 (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server for SAP 12-SP4 (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server 12-SP5 (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server 12-SP4-LTSS (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server 12-SP3-BCL (src):    libcaca-0.99.beta18-14.6.1
SUSE Linux Enterprise Server 12-SP2-BCL (src):    libcaca-0.99.beta18-14.6.1
HPE Helion Openstack 8 (src):    libcaca-0.99.beta18-14.6.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 9 Swamp Workflow Management 2022-03-14 20:24:38 UTC
SUSE-SU-2022:14909-1: An update that fixes two vulnerabilities is now available.

Category: security (important)
Bug References: 1184751,1184752
CVE References: CVE-2021-30498,CVE-2021-30499
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 11-SP4-LTSS (src):    libcaca-0.99.beta13b-49.3.1
SUSE Linux Enterprise Point of Sale 11-SP3 (src):    libcaca-0.99.beta13b-49.3.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    libcaca-0.99.beta13b-49.3.1
SUSE Linux Enterprise Debuginfo 11-SP3 (src):    libcaca-0.99.beta13b-49.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 10 Josef Möllers 2022-03-22 08:11:46 UTC
Fixed as per comment #4
Comment 11 Gianluca Gabrielli 2022-03-29 12:23:58 UTC
done