CVE-2009-4141: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-45gx-j644-hhf5
Published
Advisory Summary

CVE-2009-4141 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2009-4141 at a Glance

CVE Identifier CVE-2009-4141
GHSA Identifier GHSA-45gx-j644-hhf5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2009-4141

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

Verify Direct and Transitive Dependencies

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

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2009-4141, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software 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: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, 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

Use-after-free vulnerability in the fasync_helper function in fs/fcntl.c in the Linux kernel before 2.6.33-rc4-git1 allows local users to gain privileges via vectors that include enabling O_ASYNC (aka FASYNC or FIOASYNC) on a locked file, and then closing this file.

References

NVD — CVE-2009-4141 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-4141
access.redhat.com/errata/rhsa-2010:00... WEB
https://access.redhat.com/errata/RHSA-2010:0046
access.redhat.com/errata/rhsa-2010:01... WEB
https://access.redhat.com/errata/RHSA-2010:0149
access.redhat.com/errata/rhsa-2010:01... WEB
https://access.redhat.com/errata/RHSA-2010:0161
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2009-4141
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=547906
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7054
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9201
rhn.redhat.com/errata/rhsa-2010-00... WEB
https://rhn.redhat.com/errata/RHSA-2010-0046.html
rhn.redhat.com/errata/rhsa-2010-00... WEB
https://rhn.redhat.com/errata/RHSA-2010-0095.html
archives.neohapsis.com/archives/fulldisclo... WEB
http://archives.neohapsis.com/archives/fulldisclosure/2010-01/0252.html
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=53281b6d34d44308372d16acb7fb5327609f68b6
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=53281b6d34d44308372d16acb7fb5327609f68b6
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00002.html
lock.cmpxchg8b.com/5ebe2294ecd0e0f08ea... WEB
http://lock.cmpxchg8b.com/5ebe2294ecd0e0f08eab7690d2a6ee69/create_elf_tables.c
secunia.com/advisories/38199 WEB
http://secunia.com/advisories/38199
secunia.com/advisories/39033 WEB
http://secunia.com/advisories/39033
support.avaya.com/css/p8/documents/10... WEB
http://support.avaya.com/css/P8/documents/100073666
twitter.com/taviso/statuses/774... WEB
http://twitter.com/taviso/statuses/7744108017
www.kernel.org/pub/linux/kernel/v2... WEB
http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.33-rc4-git1.bz2
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0161.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/37806

Frequently Asked Questions

What is CVE-2009-4141?
CVE-2009-4141 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-4141?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-4141?
CVE-2009-4141 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2009-4141?
Run the dependency tree command: 'mvn dependency:tree'. 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-45gx-j644-hhf5",
  "modified" : "2022-05-02T03:51:55Z",
  "published" : "2022-05-02T03:51:55Z",
  "aliases" : [ "CVE-2009-4141" ],
  "details" : "Use-after-free vulnerability in the fasync_helper function in fs/fcntl.c in the Linux kernel before 2.6.33-rc4-git1 allows local users to gain privileges via vectors that include enabling O_ASYNC (aka FASYNC or FIOASYNC) on a locked file, and then closing this file.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-4141"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2010:0046"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2010:0149"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2010:0161"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2009-4141"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=547906"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7054"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9201"
  }, {
    "type" : "WEB",
    "url" : "https://rhn.redhat.com/errata/RHSA-2010-0046.html"
  }, {
    "type" : "WEB",
    "url" : "https://rhn.redhat.com/errata/RHSA-2010-0095.html"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/fulldisclosure/2010-01/0252.html"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=53281b6d34d44308372d16acb7fb5327609f68b6"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=53281b6d34d44308372d16acb7fb5327609f68b6"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://lock.cmpxchg8b.com/5ebe2294ecd0e0f08eab7690d2a6ee69/create_elf_tables.c"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38199"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/39033"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/css/P8/documents/100073666"
  }, {
    "type" : "WEB",
    "url" : "http://twitter.com/taviso/statuses/7744108017"
  }, {
    "type" : "WEB",
    "url" : "http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.33-rc4-git1.bz2"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0161.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37806"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-01-19T16:30:00Z"
  }
}