GHSA-74w3-p89x-ffgh: Ansi term Ansi_term Is Unmaintained Vulnerability
LOWGHSA-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
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.
Upgrade ansi_term to Latest secure release
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
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?
Which Ansi term versions are affected?
What version fixes GHSA-74w3-p89x-ffgh?
Is ansi_term affected?
What CWE is associated with GHSA-74w3-p89x-ffgh?
How can I check crates.io dependencies for GHSA-74w3-p89x-ffgh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}