GSD-2023-29491

Vulnerability from gsd - Updated: 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": "\u003c6.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.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…