Bug 1210434 (CVE-2023-29491) - VUL-0: CVE-2023-29491: ncurses: memory corruption issues when processing malformed terminfo data
Summary: VUL-0: CVE-2023-29491: ncurses: memory corruption issues when processing malf...
Status: RESOLVED FIXED
: 1210992 (view as bug list)
Alias: CVE-2023-29491
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/363267/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-29491:6.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-13 14:30 UTC by Carlos López
Modified: 2024-05-07 16:56 UTC (History)
9 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 Carlos López 2023-04-13 14:30:51 UTC
CVE-2023-29491

Posted by Jonathan Bar Or (JBO) on Apr 12

Hello oss-security,

Our team has worked with the maintainer of the ncurses library (used by several software packages in Linux) to fix 
several memory corruption vulnerabilities.
They are now fixed at commit 20230408 - see details here 
(https://invisible-island.net/ncurses/NEWS.html#index-t20230408)
A CVE was assigned (CVE-2023-29491) - it's still under a "reserved" status.

How can we ensure those fixes get deployed upstream, in major Linux distributions?
We've reached out to Arch, RedHat, Canonical and other popular distros independently.

Thanks!
                             JBO

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-29491
https://seclists.org/oss-sec/2023/q2/19
Comment 1 OBSbugzilla Bot 2023-04-19 08:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1210434) was mentioned in
https://build.opensuse.org/request/show/1080254 Factory / ncurses
Comment 2 Dr. Werner Fink 2023-04-19 08:42:45 UTC
It should be noted that we use a long time the configure option

  --disable-root-environ

for e.g. SLE-11, SLE-12, and SLE-15.  From --help of configure this shows

  restrict root use of ncurses environment variables

or from INSTALL

    --disable-root-environ
        Compile with environment restriction, so certain environment variables
        are not available when running as root, or via a setuid/setgid
        application.  These are (for example $TERMINFO) those that allow the
        search path for the terminfo or termcap entry to be customized.

or from NEW/20001007

        + add configure option --disable-root-environ, which tells ncurses to
          disregard $TERMINFO and similar environment variables if the current
          user is root, or running setuid/setgid (based on discussion with
          several people).

means root is not affected.
Comment 5 OBSbugzilla Bot 2023-04-19 09:55:02 UTC
This is an autogenerated message for OBS integration:
This bug (1210434) was mentioned in
https://build.opensuse.org/request/show/1080277 Factory / ncurses
Comment 22 Maintenance Automation 2023-05-08 09:05:02 UTC
SUSE-SU-2023:2112-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1210434
CVE References: CVE-2023-29491
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): ncurses-5.9-81.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): ncurses-5.9-81.1
SUSE Linux Enterprise Server 12 SP5 (src): ncurses-5.9-81.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): ncurses-5.9-81.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 23 Maintenance Automation 2023-05-08 09:05:04 UTC
SUSE-SU-2023:2111-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1210434
CVE References: CVE-2023-29491
Sources used:
openSUSE Leap Micro 5.3 (src): ncurses-6.1-150000.5.15.1
openSUSE Leap 15.4 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro 5.3 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro 5.4 (src): ncurses-6.1-150000.5.15.1
Basesystem Module 15-SP4 (src): ncurses-6.1-150000.5.15.1
Development Tools Module 15-SP4 (src): ncurses-6.1-150000.5.15.1
Legacy Module 15-SP4 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Real Time 15 SP3 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro 5.1 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro 5.2 (src): ncurses-6.1-150000.5.15.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): ncurses-6.1-150000.5.15.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 24 Ali Abdallah 2023-05-08 16:00:12 UTC
*** Bug 1210992 has been marked as a duplicate of this bug. ***