Skip to content

CVE-2018-1259 (High) detected in spring-data-commons-2.0.0.RELEASE.jar, spring-data-commons-1.13.9.RELEASE.jar - autoclosed #120

@mend-for-github-com

Description

@mend-for-github-com

CVE-2018-1259 - High Severity Vulnerability

Vulnerable Libraries - spring-data-commons-2.0.0.RELEASE.jar, spring-data-commons-1.13.9.RELEASE.jar

spring-data-commons-2.0.0.RELEASE.jar

Global parent pom.xml to be used by Spring Data modules

Library home page: http://www.spring.io/spring-data

Path to dependency file: /dd-java-agent/instrumentation/elasticsearch/transport-5.3/transport-5.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/2.0.0.RELEASE/b97dad2d501c2baf49b497733bb19f7a05d52142/spring-data-commons-2.0.0.RELEASE.jar

Dependency Hierarchy:

  • spring-data-elasticsearch-3.0.0.RELEASE.jar (Root Library)
    • spring-data-commons-2.0.0.RELEASE.jar (Vulnerable Library)
spring-data-commons-1.13.9.RELEASE.jar

Global parent pom.xml to be used by Spring Data modules

Library home page: http://www.spring.io/spring-data

Path to dependency file: /dd-java-agent/appsec/weblog/weblog-spring-app/weblog-spring-app.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/1.13.9.RELEASE/3910a598235d2e9c1ca56f34c5e62bb5ce23778/spring-data-commons-1.13.9.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-data-jpa-1.5.9.RELEASE.jar (Root Library)
    • spring-data-jpa-1.11.9.RELEASE.jar
      • spring-data-commons-1.13.9.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

Found in base branch: master

Vulnerability Details

Spring Data Commons, versions 1.13 prior to 1.13.12 and 2.0 prior to 2.0.7, used in combination with XMLBeam 1.4.14 or earlier versions, contains a property binder vulnerability caused by improper restriction of XML external entity references as underlying library XMLBeam does not restrict external reference expansion. An unauthenticated remote malicious user can supply specially crafted request parameters against Spring Data's projection-based request payload binding to access arbitrary files on the system.

Publish Date: 2018-05-11

URL: CVE-2018-1259

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1259

Release Date: 2018-05-09

Fix Resolution (org.springframework.data:spring-data-commons): 2.0.7.RELEASE

Direct dependency fix Resolution (org.springframework.data:spring-data-elasticsearch): 3.0.7.RELEASE

Fix Resolution (org.springframework.data:spring-data-commons): 1.13.12.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-jpa): 1.5.13.RELEASE


⛑️ Automatic Remediation is available for this issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions