Vulnerabilities

3 via 9 paths

Dependencies

47

Source

GitHub

Commit

b0986e6c

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
  • 2
Status
  • 3
  • 0
  • 0

medium severity

Arbitrary Code Execution

  • Vulnerable module: org.yaml:snakeyaml
  • Introduced through: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.14.0

Detailed paths

  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.14.0 org.yaml:snakeyaml@1.33
    Remediation: Upgrade to com.fasterxml.jackson.dataformat:jackson-dataformat-yaml@2.15.0.

Overview

org.yaml:snakeyaml is a YAML 1.1 parser and emitter for Java.

Affected versions of this package are vulnerable to Arbitrary Code Execution in the Constructor class, which does not restrict which types can be deserialized. This vulnerability is exploitable by an attacker who provides a malicious YAML file for deserialization, which circumvents the SafeConstructor class.

The maintainers of the library contend that the application's trust would already have had to be compromised or established and therefore dispute the risk associated with this issue on the basis that there is a high bar for exploitation.

Remediation

Upgrade org.yaml:snakeyaml to version 2.0 or higher.

References

low severity

Information Exposure

  • Vulnerable module: commons-codec:commons-codec
  • Introduced through: org.apache.maven.doxia:doxia-core@1.12.0

Detailed paths

  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 org.apache.maven.doxia:doxia-core@1.12.0 org.apache.httpcomponents:httpclient@4.5.13 commons-codec:commons-codec@1.11

Overview

commons-codec:commons-codec is a package that contains simple encoder and decoders for various formats such as Base64 and Hexadecimal.

Affected versions of this package are vulnerable to Information Exposure. When there is no byte array value that can be encoded into a string the Base32 implementation does not reject it, and instead decodes it into an arbitrary value which can be re-encoded again using the same implementation. This allows for information exposure exploits such as tunneling additional information via seemingly valid base 32 strings.

Remediation

Upgrade commons-codec:commons-codec to version 1.13 or higher.

References

low severity

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: org.apache.maven.doxia:doxia-core@1.12.0, com.puppycrawl.tools:checkstyle@10.15.0 and others

Detailed paths

  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 org.apache.maven.doxia:doxia-core@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 com.puppycrawl.tools:checkstyle@10.15.0 org.apache.maven.doxia:doxia-core@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 org.apache.maven.doxia:doxia-sink-api@1.12.0 org.apache.maven.doxia:doxia-logging-api@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 org.apache.maven.doxia:doxia-core@1.12.0 org.apache.maven.doxia:doxia-logging-api@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 com.puppycrawl.tools:checkstyle@10.15.0 org.apache.maven.doxia:doxia-core@1.12.0 org.apache.maven.doxia:doxia-logging-api@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 org.apache.maven.doxia:doxia-core@1.12.0 org.apache.maven.doxia:doxia-sink-api@1.12.0 org.apache.maven.doxia:doxia-logging-api@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11
  • Introduced through: checkstyle/sonar-checkstyle@checkstyle/sonar-checkstyle#b0986e6c560da32dc0e5fe7651a1aa76a7d43735 com.puppycrawl.tools:checkstyle@10.15.0 org.apache.maven.doxia:doxia-core@1.12.0 org.apache.maven.doxia:doxia-sink-api@1.12.0 org.apache.maven.doxia:doxia-logging-api@1.12.0 org.codehaus.plexus:plexus-container-default@2.1.0 junit:junit@4.11

Overview

junit:junit is an unit testing framework for Java

Affected versions of this package are vulnerable to Information Exposure. The JUnit4 test rule TemporaryFolder contains a local information disclosure vulnerability. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system.

Note: This vulnerability does not allow other users to overwrite the contents of these directories or files. This only affects Unix like systems.

Remediation

Upgrade junit:junit to version 4.13.1 or higher.

References