CVE-2017-14495: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-rcfc-xq5g-7phm
CVSS 7.5
CWE-772
Published
Advisory Summary

CVE-2017-14495 is a HIGH (CVSS 7.5) security vulnerability vulnerability (CWE-772: Missing Release of Resource after Effective Lifetime) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.. Remediation is available in the latest vendor maintenance releases.

CVE-2017-14495 at a Glance

CVE Identifier CVE-2017-14495
GHSA Identifier GHSA-rcfc-xq5g-7phm
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-772: Missing Release of Resource after Effective Lifetime
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2017-14495

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-2017-14495, 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-772: Missing Release of Resource after Effective Lifetime, where the product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed. 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

Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service (memory consumption) via vectors involving DNS response creation.

References

NVD — CVE-2017-14495 NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-14495
access.redhat.com/errata/rhsa-2017:28... WEB
https://access.redhat.com/errata/RHSA-2017:2836
Software Security Information SECURITY
https://access.redhat.com/security/vulnerabilities/3199382
cert-portal.siemens.com/productcert/pdf/ssa... WEB
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
Software Security Information SECURITY
https://security.gentoo.org/glsa/201710-27
Software Security Information SECURITY
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html
www.exploit-db.com/exploits/42945 WEB
https://www.exploit-db.com/exploits/42945
www.kb.cert.org/vuls/id/973527 WEB
https://www.kb.cert.org/vuls/id/973527
www.mail-archive.com/dnsmasq-discuss@lis... WEB
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
www.mail-archive.com/dnsmasq-discuss@lis... WEB
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
www.mail-archive.com/dnsmasq-discuss@lis... WEB
https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11664.html
www.mail-archive.com/dnsmasq-discuss@lis... WEB
https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11665.html
Software Security Information SECURITY
https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00006.html
nvidia.custhelp.com/app/answers/detail/... WEB
http://nvidia.custhelp.com/app/answers/detail/a_id/4561
thekelleys.org.uk/dnsmasq/changelog WEB
http://thekelleys.org.uk/dnsmasq/CHANGELOG
thekelleys.org.uk/gitweb/ WEB
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=51eadb692a5123b9838e5a68ecace3ac579a3a45
thekelleys.org.uk/gitweb/ WEB
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=51eadb692a5123b9838e5a68ecace3ac579a3a45
www.arubanetworks.com/assets/alert/aruba-... WEB
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-005.txt
Software Security Information SECURITY
http://www.debian.org/security/2017/dsa-3989
Software Security Information SECURITY
http://www.securityfocus.com/bid/101085
Software Security Information SECURITY
http://www.securityfocus.com/bid/101977
Software Security Information SECURITY
http://www.securitytracker.com/id/1039474
www.ubuntu.com/usn/usn-3430-1 WEB
http://www.ubuntu.com/usn/USN-3430-1
www.ubuntu.com/usn/usn-3430-2 WEB
http://www.ubuntu.com/usn/USN-3430-2

Frequently Asked Questions

What is CVE-2017-14495?
CVE-2017-14495 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-772: Missing Release of Resource after Effective Lifetime.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2017-14495?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2017-14495?
CVE-2017-14495 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-14495?
CVE-2017-14495 is classified under CWE-772: Missing Release of Resource after Effective Lifetime (The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.).
How can I check Maven dependencies for CVE-2017-14495?
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-rcfc-xq5g-7phm",
  "modified" : "2025-04-20T03:46:12Z",
  "published" : "2022-05-13T01:43:26Z",
  "aliases" : [ "CVE-2017-14495" ],
  "details" : "Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service (memory consumption) via vectors involving DNS response creation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14495"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:2836"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/vulnerabilities/3199382"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/201710-27"
  }, {
    "type" : "WEB",
    "url" : "https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.exploit-db.com/exploits/42945"
  }, {
    "type" : "WEB",
    "url" : "https://www.kb.cert.org/vuls/id/973527"
  }, {
    "type" : "WEB",
    "url" : "https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11664.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg11665.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://nvidia.custhelp.com/app/answers/detail/a_id/4561"
  }, {
    "type" : "WEB",
    "url" : "http://thekelleys.org.uk/dnsmasq/CHANGELOG"
  }, {
    "type" : "WEB",
    "url" : "http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=51eadb692a5123b9838e5a68ecace3ac579a3a45"
  }, {
    "type" : "WEB",
    "url" : "http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=51eadb692a5123b9838e5a68ecace3ac579a3a45"
  }, {
    "type" : "WEB",
    "url" : "http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-005.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2017/dsa-3989"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/101085"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/101977"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1039474"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-3430-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-3430-2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-772" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2017-10-03T01:29:00Z"
  }
}