Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PatchWork AutoFix #5

Open
wants to merge 4 commits into
base: local-llama3-8b
Choose a base branch
from
Open

Conversation

CTY-git
Copy link

@CTY-git CTY-git commented May 2, 2024

This pull request from patched fixes 4 issues.


  • File changed: src/main/java/io/shiftleft/tarpit/ServletTarPit.java

    Fixed multiple vulnerabilities in ServletTarPit servlet This commit fixes several vulnerabilities found in the ServletTarPit servlet:

    1. Code injection using ScriptEngine.eval() has been removed to prevent code injection attacks.

    2. The use of user-controlled data in SQL queries has been fixed by parameterizing the SQL queries using prepared statements.

    3. The AES cipher has been updated to use CBC/PKCS7Padding to prevent cryptographic attacks.

    4. Default session middleware settings have been updated to ensure secure cookies.

    5. The 'HttpOnly' flag has been set for cookies to prevent client-side script access.

    6. The 'secure' flag has been set for cookies to prevent transmission over insecure channels.

@patched-admin patched-admin force-pushed the autofix-local-llama3-8b branch 3 times, most recently from 2466a2b to 7c35b36 Compare May 8, 2024 02:56
@patched-admin patched-admin force-pushed the autofix-local-llama3-8b branch from 7c35b36 to 0fbb6d1 Compare May 8, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant