GHSA-74w3-p89x-ffgh: Ansi term Ansi_term Is Unmaintained Vulnerability

LOW
Published
Advisory Summary

GHSA-74w3-p89x-ffgh is a LOW ansi_term is unmaintained vulnerability (General Security Weakness) affecting Ansi term libraries in the crates.io ecosystem. The issue involves ansi_term is unmaintained. Remediation is available in the latest vendor maintenance releases.

GHSA-74w3-p89x-ffgh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-74w3-p89x-ffgh
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ansi term
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-74w3-p89x-ffgh

To remediate this vulnerability, upgrade all affected Ansi term dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ansi_term fixed: Latest secure release
Upgrade ansi_term to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for ansi_term

How to Check if You Are Affected

To determine whether your application is affected by GHSA-74w3-p89x-ffgh, inspect your project dependencies for Ansi term:

inspect dependencies for ansi_term

Analyze the terminal output to locate any version of Ansi term in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Ansi term, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Withdrawn Advisory This advisory has been withdrawn because it does not discuss a particular vulnerability in the code of `ansi_term`. ## Original Description The maintainer has adviced this crate is deprecated and will not receive any maintenance. The crate does not seem to have much dependencies and may or may not be ok to use as-is. Last release seems to have been three years ago.

GHSA-74w3-p89x-ffgh Affected Ansi term Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
ansi_term
crates.io

References

Frequently Asked Questions

What is GHSA-74w3-p89x-ffgh?
GHSA-74w3-p89x-ffgh is a security vulnerability in Ansi term involving ansi_term is Unmaintained under General Security Weakness.
Which Ansi term versions are affected?
Affected versions include releases prior to current release patches across affected packages: ansi_term.
What version fixes GHSA-74w3-p89x-ffgh?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is ansi_term affected?
Yes, ansi_term is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-74w3-p89x-ffgh?
GHSA-74w3-p89x-ffgh is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-74w3-p89x-ffgh?
Run the dependency tree command: 'inspect dependencies for ansi_term'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-74w3-p89x-ffgh",
  "modified" : "2022-09-19T14:25:17Z",
  "published" : "2022-09-16T21:03:19Z",
  "withdrawn" : "2022-09-19T14:25:17Z",
  "aliases" : [ ],
  "summary" : "ansi_term is Unmaintained",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because it does not discuss a particular vulnerability in the code of `ansi_term`.\n\n## Original Description\nThe maintainer has adviced this crate is deprecated and will not receive any maintenance.\n\nThe crate does not seem to have much dependencies and may or may not be ok to use as-is.\n\nLast release seems to have been three years ago.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "ansi_term"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ogham/rust-ansi-term/issues/72"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ogham/rust-ansi-term"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2021-0139.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-16T21:03:19Z",
    "nvd_published_at" : null
  }
}