usn-5477-1
Vulnerability from osv_ubuntu
Published
2022-06-14 11:17
Modified
2026-06-29 10:52
Summary
ncurses vulnerabilities
Details

Hosein Askari discovered that ncurses was incorrectly performing memory management operations when dealing with long filenames while writing structures into the file system. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2017-16879)

Chung-Yi Lin discovered that ncurses was incorrectly handling access to invalid memory areas when parsing terminfo or termcap entries where the use-name had invalid syntax. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-19211)

It was discovered that ncurses was incorrectly performing bounds checks when processing invalid hashcodes. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2019-17594)

It was discovered that ncurses was incorrectly handling end-of-string characters when processing terminfo and termcap files. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2019-17595)

It was discovered that ncurses was incorrectly handling end-of-string characters when converting between termcap and terminfo formats. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2021-39537)

It was discovered that ncurses was incorrectly performing bounds checks when dealing with corrupt terminfo data while reading a terminfo file. An attacker could possibly use this issue to cause a denial of service or to expose sensitive information. (CVE-2022-29458)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2017-16879",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2018-19211",
              "severity": [
                {
                  "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-17594",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-17595",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-39537",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-29458",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:14.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lib32ncurses5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib32ncursesw5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib32tinfo5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib64ncurses5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib64tinfo5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libncurses5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libncursesw5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libtinfo5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32ncurses5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32ncursesw5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32tinfo5",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-base",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-bin",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-examples",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-term",
            "binary_version": "5.9+20140118-1ubuntu1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "ncurses",
        "purl": "pkg:deb/ubuntu/ncurses@5.9+20140118-1ubuntu1+esm2?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.9+20140118-1ubuntu1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.9+20130608-1ubuntu1",
        "5.9+20131221-1ubuntu1",
        "5.9+20140118-1ubuntu1",
        "5.9+20140118-1ubuntu1+esm1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2017-16879",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2018-19211",
              "severity": [
                {
                  "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-17594",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-17595",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-39537",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-29458",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "lib32ncurses5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib32ncursesw5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib32tinfo5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib64ncurses5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "lib64tinfo5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libncurses5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libncursesw5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libtinfo5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32ncurses5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32ncursesw5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "libx32tinfo5",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-base",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-bin",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-examples",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          },
          {
            "binary_name": "ncurses-term",
            "binary_version": "6.0+20160213-1ubuntu1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "ncurses",
        "purl": "pkg:deb/ubuntu/ncurses@6.0+20160213-1ubuntu1+esm2?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.0+20160213-1ubuntu1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.9+20150516-2ubuntu1",
        "6.0+20151024-2ubuntu1",
        "6.0+20151024-2ubuntu2",
        "6.0+20160213-1ubuntu1",
        "6.0+20160213-1ubuntu1+esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "Hosein Askari discovered that ncurses was incorrectly performing\nmemory management operations when dealing with long filenames while\nwriting structures into the file system. An attacker could possibly\nuse this issue to cause a denial of service or execute arbitrary\ncode. (CVE-2017-16879)\n\nChung-Yi Lin discovered that ncurses was incorrectly handling access\nto invalid memory areas when parsing terminfo or termcap entries where\nthe use-name had invalid syntax. An attacker could possibly use this\nissue to cause a denial of service. (CVE-2018-19211)\n\nIt was discovered that ncurses was incorrectly performing bounds\nchecks when processing invalid hashcodes. An attacker could possibly\nuse this issue to cause a denial of service or to expose sensitive\ninformation. (CVE-2019-17594)\n\nIt was discovered that ncurses was incorrectly handling\nend-of-string characters when processing terminfo and termcap files.\nAn attacker could possibly use this issue to cause a denial of\nservice or to expose sensitive information. (CVE-2019-17595)\n\nIt was discovered that ncurses was incorrectly handling\nend-of-string characters when converting between termcap and\nterminfo formats. An attacker could possibly use this issue to cause\na denial of service or execute arbitrary code. (CVE-2021-39537)\n\nIt was discovered that ncurses was incorrectly performing bounds\nchecks when dealing with corrupt terminfo data while reading a\nterminfo file. An attacker could possibly use this issue to cause a\ndenial of service or to expose sensitive information.\n(CVE-2022-29458)\n",
  "id": "USN-5477-1",
  "modified": "2026-06-29T10:52:55Z",
  "published": "2022-06-14T11:17:52Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5477-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-16879"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-19211"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-17594"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-17595"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-39537"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-29458"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "ncurses vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2017-16879",
    "UBUNTU-CVE-2018-19211",
    "UBUNTU-CVE-2019-17594",
    "UBUNTU-CVE-2019-17595",
    "UBUNTU-CVE-2021-39537",
    "UBUNTU-CVE-2022-29458"
  ]
}



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…