alvarosanchez/grails-spring-security-rest

Vulnerabilities

3 via 5 paths

Dependencies

65

Source

GitHub

Commit

5a78c55f

Find, fix and prevent vulnerabilities in your code.

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

medium severity

Insecure Default

  • Vulnerable module: org.apache.ant:ant
  • Introduced through: org.grails:grails-core@5.0.0.M1

Detailed paths

  • Introduced through: alvarosanchez/grails-spring-security-rest@alvarosanchez/grails-spring-security-rest#5a78c55fad51334cee2f29ba0895283840994c7a org.grails:grails-core@5.0.0.M1 org.apache.ant:ant@1.9.7

Overview

org.apache.ant:ant is a software tool for automating software build processes which originated from the Apache Tomcat project in early 2000.

Affected versions of this package are vulnerable to Insecure Default. It uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.

Remediation

Upgrade org.apache.ant:ant to version 1.9.15, 1.10.8 or higher.

References

low severity

Information Exposure

  • Vulnerable module: junit:junit
  • Introduced through: org.springframework.boot:spring-boot-starter-logging@2.5.2

Detailed paths

  • Introduced through: alvarosanchez/grails-spring-security-rest@alvarosanchez/grails-spring-security-rest#5a78c55fad51334cee2f29ba0895283840994c7a org.springframework.boot:spring-boot-starter-logging@2.5.2 org.apache.logging.log4j:log4j-to-slf4j@2.14.1 org.junit.vintage:junit-vintage-engine@5.7.1 junit:junit@4.13
  • Introduced through: alvarosanchez/grails-spring-security-rest@alvarosanchez/grails-spring-security-rest#5a78c55fad51334cee2f29ba0895283840994c7a org.springframework.boot:spring-boot-starter-logging@2.5.2 org.apache.logging.log4j:log4j-to-slf4j@2.14.1 org.apache.logging.log4j:log4j-api@2.14.1 org.junit.jupiter:junit-jupiter-migrationsupport@5.7.1 junit:junit@4.13
  • Introduced through: alvarosanchez/grails-spring-security-rest@alvarosanchez/grails-spring-security-rest#5a78c55fad51334cee2f29ba0895283840994c7a org.springframework.boot:spring-boot-starter-logging@2.5.2 org.apache.logging.log4j:log4j-to-slf4j@2.14.1 org.apache.logging.log4j:log4j-api@2.14.1 org.junit.vintage:junit-vintage-engine@5.7.1 junit:junit@4.13

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

low severity

Arbitrary Code Injection

  • Vulnerable module: org.apache.ant:ant
  • Introduced through: org.grails:grails-core@5.0.0.M1

Detailed paths

  • Introduced through: alvarosanchez/grails-spring-security-rest@alvarosanchez/grails-spring-security-rest#5a78c55fad51334cee2f29ba0895283840994c7a org.grails:grails-core@5.0.0.M1 org.apache.ant:ant@1.9.7

Overview

org.apache.ant:ant is a software tool for automating software build processes which originated from the Apache Tomcat project in early 2000.

Affected versions of this package are vulnerable to Arbitrary Code Injection. As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

Alternative Mitigation:

The best mitigation against CVE-2020-11979 and CVE-2020-1945 still is to make Ant use a directory that is only readable and writable by the current user.

Ant users of versions 1.10.8 and 1.9.15 can use the Ant property ant.tmpdir to point to such a directory, users of versions 1.1 to 1.9.14 and 1.10.0 to 1.10.7 should set the java.io.tmpdir system property. This mitigation is external to the product.

Remediation

Upgrade org.apache.ant:ant to version 1.10.9 or higher.

References