gsd-2023-29491
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2023-29491",
      id: "GSD-2023-29491",
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-29491",
         ],
         details: "ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.",
         id: "GSD-2023-29491",
         modified: "2023-12-13T01:20:57.362432Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2023-29491",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "n/a",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "n/a",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "n/a",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "n/a",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://www.openwall.com/lists/oss-security/2023/04/13/4",
                  refsource: "MISC",
                  url: "https://www.openwall.com/lists/oss-security/2023/04/13/4",
               },
               {
                  name: "http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=eb51b1ea1f75a0ec17c9c5937cb28df1e8eeec56",
                  refsource: "MISC",
                  url: "http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=eb51b1ea1f75a0ec17c9c5937cb28df1e8eeec56",
               },
               {
                  name: "https://www.openwall.com/lists/oss-security/2023/04/12/5",
                  refsource: "MISC",
                  url: "https://www.openwall.com/lists/oss-security/2023/04/12/5",
               },
               {
                  name: "[oss-security] 20230419 Re: ncurses fixes upstream",
                  refsource: "MLIST",
                  url: "http://www.openwall.com/lists/oss-security/2023/04/19/10",
               },
               {
                  name: "[oss-security] 20230419 RE: [EXTERNAL] Re: ncurses fixes upstream",
                  refsource: "MLIST",
                  url: "http://www.openwall.com/lists/oss-security/2023/04/19/11",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20230517-0009/",
                  refsource: "CONFIRM",
                  url: "https://security.netapp.com/advisory/ntap-20230517-0009/",
               },
               {
                  name: "https://support.apple.com/kb/HT213843",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213843",
               },
               {
                  name: "https://support.apple.com/kb/HT213844",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213844",
               },
               {
                  name: "https://support.apple.com/kb/HT213845",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213845",
               },
               {
                  name: "[debian-lts-announce] 20231203 [SECURITY] [DLA 3682-1] ncurses security update",
                  refsource: "MLIST",
                  url: "https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html",
               },
               {
                  name: "FEDORA-2024-96090dafaf",
                  refsource: "FEDORA",
                  url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT/",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "<6.4",
               affected_versions: "All versions before 6.4",
               cvss_v3: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-787",
                  "CWE-937",
               ],
               date: "2023-05-17",
               description: "ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.",
               fixed_versions: [
                  "6.4",
               ],
               identifier: "CVE-2023-29491",
               identifiers: [
                  "CVE-2023-29491",
               ],
               not_impacted: "All versions starting from 6.4",
               package_slug: "conan/ncurses",
               pubdate: "2023-04-14",
               solution: "Upgrade to version 6.4 or above.",
               title: "Out-of-bounds Write",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2023-29491",
                  "https://www.openwall.com/lists/oss-security/2023/04/13/4",
                  "https://www.openwall.com/lists/oss-security/2023/04/12/5",
                  "http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=eb51b1ea1f75a0ec17c9c5937cb28df1e8eeec56",
                  "http://www.openwall.com/lists/oss-security/2023/04/19/10",
                  "http://www.openwall.com/lists/oss-security/2023/04/19/11",
               ],
               uuid: "183585b5-920a-4ae1-8256-4d6ecd5042be",
            },
         ],
      },
      "nvd.nist.gov": {
         cve: {
            configurations: [
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:gnu:ncurses:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "869BBAB1-FACC-4D19-AB7C-5FDBE33212D0",
                              versionEndExcluding: "6.4",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
            ],
            descriptions: [
               {
                  lang: "en",
                  value: "ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.",
               },
            ],
            id: "CVE-2023-29491",
            lastModified: "2024-01-31T03:15:07.860",
            metrics: {
               cvssMetricV31: [
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "LOCAL",
                        availabilityImpact: "HIGH",
                        baseScore: 7.8,
                        baseSeverity: "HIGH",
                        confidentialityImpact: "HIGH",
                        integrityImpact: "HIGH",
                        privilegesRequired: "LOW",
                        scope: "UNCHANGED",
                        userInteraction: "NONE",
                        vectorString: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        version: "3.1",
                     },
                     exploitabilityScore: 1.8,
                     impactScore: 5.9,
                     source: "nvd@nist.gov",
                     type: "Primary",
                  },
               ],
            },
            published: "2023-04-14T01:15:08.570",
            references: [
               {
                  source: "cve@mitre.org",
                  url: "http://ncurses.scripts.mit.edu/?p=ncurses.git%3Ba=commit%3Bh=eb51b1ea1f75a0ec17c9c5937cb28df1e8eeec56",
               },
               {
                  source: "cve@mitre.org",
                  tags: [
                     "Mailing List",
                     "Patch",
                     "Third Party Advisory",
                  ],
                  url: "http://www.openwall.com/lists/oss-security/2023/04/19/10",
               },
               {
                  source: "cve@mitre.org",
                  tags: [
                     "Exploit",
                     "Mailing List",
                     "Third Party Advisory",
                  ],
                  url: "http://www.openwall.com/lists/oss-security/2023/04/19/11",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LU4MYMKFEZQ5VSCVLRIZGDQOUW3T44GT/",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://security.netapp.com/advisory/ntap-20230517-0009/",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://support.apple.com/kb/HT213843",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://support.apple.com/kb/HT213844",
               },
               {
                  source: "cve@mitre.org",
                  url: "https://support.apple.com/kb/HT213845",
               },
               {
                  source: "cve@mitre.org",
                  tags: [
                     "Mailing List",
                  ],
                  url: "https://www.openwall.com/lists/oss-security/2023/04/12/5",
               },
               {
                  source: "cve@mitre.org",
                  tags: [
                     "Mailing List",
                     "Patch",
                  ],
                  url: "https://www.openwall.com/lists/oss-security/2023/04/13/4",
               },
            ],
            sourceIdentifier: "cve@mitre.org",
            vulnStatus: "Modified",
            weaknesses: [
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-787",
                     },
                  ],
                  source: "nvd@nist.gov",
                  type: "Primary",
               },
            ],
         },
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.