CVE-2007-0957: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-qhvp-f78p-g96p
CWE-787
Published
Advisory Summary

CVE-2007-0957 is a HIGH security vulnerability vulnerability (CWE-787: Out-of-bounds Write) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product writes data past the end, or before the beginning, of the intended buffer.. Remediation is available in the latest vendor maintenance releases.

CVE-2007-0957 at a Glance

CVE Identifier CVE-2007-0957
GHSA Identifier GHSA-qhvp-f78p-g96p
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-787: Out-of-bounds Write
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-0957

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-2007-0957, 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 CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. 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

Stack-based buffer overflow in the krb5_klog_syslog function in the kadm5 library, as used by the Kerberos administration daemon (kadmind) and Key Distribution Center (KDC), in MIT krb5 before 1.6.1 allows remote authenticated users to execute arbitrary code and modify the Kerberos key database via crafted arguments, possibly involving certain format string specifiers.

References

NVD — CVE-2007-0957 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-0957
exchange.xforce.ibmcloud.com/vulnerabilities/334... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/33411
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10757
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=305391
Software Security Information SECURITY
http://lists.apple.com/archives/Security-announce/2007/Apr/msg00001.html
Software Security Information SECURITY
http://lists.suse.com/archive/suse-security-announce/2007-Apr/0001.html
secunia.com/advisories/24706 WEB
http://secunia.com/advisories/24706
secunia.com/advisories/24735 WEB
http://secunia.com/advisories/24735
secunia.com/advisories/24736 WEB
http://secunia.com/advisories/24736
secunia.com/advisories/24740 WEB
http://secunia.com/advisories/24740
secunia.com/advisories/24750 WEB
http://secunia.com/advisories/24750
secunia.com/advisories/24757 WEB
http://secunia.com/advisories/24757
secunia.com/advisories/24785 WEB
http://secunia.com/advisories/24785
secunia.com/advisories/24786 WEB
http://secunia.com/advisories/24786
secunia.com/advisories/24798 WEB
http://secunia.com/advisories/24798
secunia.com/advisories/24817 WEB
http://secunia.com/advisories/24817
secunia.com/advisories/24966 WEB
http://secunia.com/advisories/24966
secunia.com/advisories/25464 WEB
http://secunia.com/advisories/25464
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200704-02.xml
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102930-1
web.mit.edu/kerberos/www/adviso... WEB
http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2007-002-syslog.txt
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1276
www.kb.cert.org/vuls/id/704024 WEB
http://www.kb.cert.org/vuls/id/704024
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2007:077
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0095.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/464592/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/464666/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/464814/30/7170/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/23285
Software Security Information SECURITY
http://www.securitytracker.com/id?1017849
www.ubuntu.com/usn/usn-449-1 WEB
http://www.ubuntu.com/usn/usn-449-1
www.us-cert.gov/cas/techalerts/ta07... WEB
http://www.us-cert.gov/cas/techalerts/TA07-093B.html
www.us-cert.gov/cas/techalerts/ta07... WEB
http://www.us-cert.gov/cas/techalerts/TA07-109A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1218
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1250
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1470
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1983

Frequently Asked Questions

What is CVE-2007-0957?
CVE-2007-0957 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-787: Out-of-bounds Write.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-0957?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-0957?
CVE-2007-0957 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2007-0957?
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-qhvp-f78p-g96p",
  "modified" : "2022-05-03T03:18:01Z",
  "published" : "2022-05-03T03:18:01Z",
  "aliases" : [ "CVE-2007-0957" ],
  "details" : "Stack-based buffer overflow in the krb5_klog_syslog function in the kadm5 library, as used by the Kerberos administration daemon (kadmind) and Key Distribution Center (KDC), in MIT krb5 before 1.6.1 allows remote authenticated users to execute arbitrary code and modify the Kerberos key database via crafted arguments, possibly involving certain format string specifiers.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-0957"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/33411"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10757"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=305391"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/Security-announce/2007/Apr/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.suse.com/archive/suse-security-announce/2007-Apr/0001.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24706"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24735"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24736"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24740"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24750"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24757"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24785"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24786"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24798"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24817"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24966"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25464"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200704-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102930-1"
  }, {
    "type" : "WEB",
    "url" : "http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2007-002-syslog.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1276"
  }, {
    "type" : "WEB",
    "url" : "http://www.kb.cert.org/vuls/id/704024"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2007:077"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0095.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/464592/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/464666/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/464814/30/7170/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/23285"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1017849"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-449-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA07-093B.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA07-109A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1218"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1250"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1470"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1983"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-04-06T01:19:00Z"
  }
}