Skip to content

Commit

Permalink
Merge pull request #560 from Arrnitage/master
Browse files Browse the repository at this point in the history
cve-2022-22947 add debug option
  • Loading branch information
phith0n authored Dec 4, 2024
2 parents a9fb715 + 426bfc3 commit 0886ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/spring/spring-cloud-gateway/3.1.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ LABEL maintainer="phithon <root@leavesongs.com>"

COPY --from=builder /usr/src/target/spring-cloud-gateway-0.0.1-SNAPSHOT.jar /spring-cloud-gateway-0.0.1-SNAPSHOT.jar

CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/spring-cloud-gateway-0.0.1-SNAPSHOT.jar"]
CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005", "-jar", "/spring-cloud-gateway-0.0.1-SNAPSHOT.jar"]
1 change: 1 addition & 0 deletions spring/CVE-2022-22947/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ services:
image: vulhub/spring-cloud-gateway:3.1.0
ports:
- "8080:8080"
- "5005:5005"

0 comments on commit 0886ca5

Please sign in to comment.