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

FOLIO-3645: schema name SQL injection #39

Merged
merged 5 commits into from Dec 1, 2022

Conversation

julianladisch
Copy link
Contributor

SELECT EXISTS now uses a prepared statement.

PostgreSQL doesn't support a prepared statement for CREATE SCHEMA and DROP SCHEMA. Instead we validate the schema name before use to mitigate any SQL injection attack.

SELECT EXISTS now uses a prepared statement.

PostgreSQL doesn't support a prepared statement for CREATE SCHEMA and DROP SCHEMA.
Instead we validate the schema name before use to mitigate any SQL injection attack.
@julianladisch julianladisch requested a review from a user November 21, 2022 17:48
@sonarcloud
Copy link

sonarcloud bot commented Nov 23, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@julianladisch julianladisch merged commit 3149569 into main Dec 1, 2022
@julianladisch julianladisch deleted the FOLIO-3645-schema-name-sql-injection branch December 1, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants