Skip to content

CVE-2018-1257 (Medium) detected in spring-messaging-5.0.0.RELEASE.jar, spring-messaging-4.3.14.RELEASE.jar - autoclosed #118

@mend-for-github-com

Description

@mend-for-github-com

CVE-2018-1257 - Medium Severity Vulnerability

Vulnerable Libraries - spring-messaging-5.0.0.RELEASE.jar, spring-messaging-4.3.14.RELEASE.jar

spring-messaging-5.0.0.RELEASE.jar

Spring Messaging

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /dd-java-agent/instrumentation/spring-rabbit/spring-rabbit.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-messaging/5.0.0.RELEASE/166b6391f50823bc3d234455642dc5f85ed4350d/spring-messaging-5.0.0.RELEASE.jar

Dependency Hierarchy:

  • spring-rabbit-2.0.0.RELEASE.jar (Root Library)
    • spring-messaging-5.0.0.RELEASE.jar (Vulnerable Library)
spring-messaging-4.3.14.RELEASE.jar

Spring Messaging

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /dd-java-agent/instrumentation/kafka-clients-0.11/kafka-clients-0.11.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-messaging/4.3.14.RELEASE/6d291e0857d55edba091a9ab2dbfb8346e2ac05d/spring-messaging-4.3.14.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-messaging/4.3.14.RELEASE/6d291e0857d55edba091a9ab2dbfb8346e2ac05d/spring-messaging-4.3.14.RELEASE.jar

Dependency Hierarchy:

  • spring-kafka-1.3.3.RELEASE.jar (Root Library)
    • spring-messaging-4.3.14.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

Found in base branch: master

Vulnerability Details

Spring Framework, versions 5.0.x prior to 5.0.6, versions 4.3.x prior to 4.3.17, and older unsupported versions allows applications to expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a regular expression, denial of service attack.

Publish Date: 2018-05-11

URL: CVE-2018-1257

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-1257

Release Date: 2018-05-09

Fix Resolution (org.springframework:spring-messaging): 5.0.6.RELEASE

Direct dependency fix Resolution (org.springframework.amqp:spring-rabbit): 2.0.4.RELEASE

Fix Resolution (org.springframework:spring-messaging): 4.3.17.RELEASE

Direct dependency fix Resolution (org.springframework.kafka:spring-kafka): 1.3.5.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