gsd-2021-39537
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-39537",
      description: "An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.",
      id: "GSD-2021-39537",
      references: [
         "https://www.suse.com/security/cve/CVE-2021-39537.html",
         "https://security.archlinux.org/CVE-2021-39537",
         "https://ubuntu.com/security/CVE-2021-39537",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-39537",
         ],
         details: "An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.",
         id: "GSD-2021-39537",
         modified: "2023-12-13T01:23:16.203811Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2021-39537",
            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: "An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "n/a",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html",
                  refsource: "MISC",
                  url: "https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html",
               },
               {
                  name: "https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html",
                  refsource: "MISC",
                  url: "https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html",
               },
               {
                  name: "http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup",
                  refsource: "MISC",
                  url: "http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup",
               },
               {
                  name: "https://support.apple.com/kb/HT213443",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213443",
               },
               {
                  name: "https://support.apple.com/kb/HT213444",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213444",
               },
               {
                  name: "https://support.apple.com/kb/HT213488",
                  refsource: "CONFIRM",
                  url: "https://support.apple.com/kb/HT213488",
               },
               {
                  name: "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                  refsource: "FULLDISC",
                  url: "http://seclists.org/fulldisclosure/2022/Oct/41",
               },
               {
                  name: "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                  refsource: "FULLDISC",
                  url: "http://seclists.org/fulldisclosure/2022/Oct/28",
               },
               {
                  name: "20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6",
                  refsource: "FULLDISC",
                  url: "http://seclists.org/fulldisclosure/2022/Oct/43",
               },
               {
                  name: "20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7",
                  refsource: "FULLDISC",
                  url: "http://seclists.org/fulldisclosure/2022/Oct/45",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20230427-0012/",
                  refsource: "CONFIRM",
                  url: "https://security.netapp.com/advisory/ntap-20230427-0012/",
               },
               {
                  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",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "<=6.2.1",
               affected_versions: "All versions up to 6.2.1",
               cvss_v2: "AV:N/AC:M/Au:N/C:P/I:P/A:P",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-787",
                  "CWE-937",
               ],
               date: "2023-04-27",
               description: "An issue was discovered in ncurses `_nc_captoinfo` in `captoinfo.c` as it was found to have a heap-based buffer overflow.",
               fixed_versions: [
                  "6.3",
               ],
               identifier: "CVE-2021-39537",
               identifiers: [
                  "CVE-2021-39537",
               ],
               not_impacted: "All versions after 6.2.1",
               package_slug: "conan/ncurses",
               pubdate: "2021-09-20",
               solution: "Upgrade to version 6.3 or above.",
               title: "Out-of-bounds Write",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-39537",
                  "https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html",
               ],
               uuid: "bdc61f19-1426-4f4f-aae5-846e8cbff5a6",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:gnu:ncurses:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndIncluding: "6.2.1",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:o:apple:mac_os_x:10.12.6:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:o:apple:macos:13.0:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:o:apple:macos:11.7:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "cve@mitre.org",
               ID: "CVE-2021-39537",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "An issue was discovered in ncurses through v6.2-1. _nc_captoinfo in captoinfo.c has a heap-based buffer overflow.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-787",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html",
                     refsource: "MISC",
                     tags: [
                        "Exploit",
                        "Mailing List",
                        "Vendor Advisory",
                     ],
                     url: "https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00006.html",
                  },
                  {
                     name: "https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html",
                     refsource: "MISC",
                     tags: [
                        "Mailing List",
                        "Vendor Advisory",
                     ],
                     url: "https://lists.gnu.org/archive/html/bug-ncurses/2021-10/msg00023.html",
                  },
                  {
                     name: "http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup",
                     refsource: "MISC",
                     tags: [
                        "Patch",
                        "Third Party Advisory",
                     ],
                     url: "http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/ncurses/patches/patch-ncurses_tinfo_captoinfo.c?rev=1.1&content-type=text/x-cvsweb-markup",
                  },
                  {
                     name: "https://support.apple.com/kb/HT213488",
                     refsource: "CONFIRM",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://support.apple.com/kb/HT213488",
                  },
                  {
                     name: "https://support.apple.com/kb/HT213443",
                     refsource: "CONFIRM",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://support.apple.com/kb/HT213443",
                  },
                  {
                     name: "https://support.apple.com/kb/HT213444",
                     refsource: "CONFIRM",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://support.apple.com/kb/HT213444",
                  },
                  {
                     name: "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                     refsource: "FULLDISC",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "http://seclists.org/fulldisclosure/2022/Oct/41",
                  },
                  {
                     name: "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                     refsource: "FULLDISC",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "http://seclists.org/fulldisclosure/2022/Oct/28",
                  },
                  {
                     name: "20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6",
                     refsource: "FULLDISC",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "http://seclists.org/fulldisclosure/2022/Oct/43",
                  },
                  {
                     name: "20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7",
                     refsource: "FULLDISC",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "http://seclists.org/fulldisclosure/2022/Oct/45",
                  },
                  {
                     name: "https://security.netapp.com/advisory/ntap-20230427-0012/",
                     refsource: "CONFIRM",
                     tags: [],
                     url: "https://security.netapp.com/advisory/ntap-20230427-0012/",
                  },
                  {
                     name: "[debian-lts-announce] 20231203 [SECURITY] [DLA 3682-1] ncurses security update",
                     refsource: "",
                     tags: [],
                     url: "https://lists.debian.org/debian-lts-announce/2023/12/msg00004.html",
                  },
               ],
            },
         },
         impact: {
            baseMetricV2: {
               acInsufInfo: false,
               cvssV2: {
                  accessComplexity: "MEDIUM",
                  accessVector: "NETWORK",
                  authentication: "NONE",
                  availabilityImpact: "PARTIAL",
                  baseScore: 6.8,
                  confidentialityImpact: "PARTIAL",
                  integrityImpact: "PARTIAL",
                  vectorString: "AV:N/AC:M/Au:N/C:P/I:P/A:P",
                  version: "2.0",
               },
               exploitabilityScore: 8.6,
               impactScore: 6.4,
               obtainAllPrivilege: false,
               obtainOtherPrivilege: false,
               obtainUserPrivilege: false,
               severity: "MEDIUM",
               userInteractionRequired: true,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "HIGH",
                  baseScore: 8.8,
                  baseSeverity: "HIGH",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  version: "3.1",
               },
               exploitabilityScore: 2.8,
               impactScore: 5.9,
            },
         },
         lastModifiedDate: "2023-12-03T20:15Z",
         publishedDate: "2021-09-20T16:15Z",
      },
   },
}


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.