-
Notifications
You must be signed in to change notification settings - Fork 0
StudyMember TestCode #130
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
base: develop
Are you sure you want to change the base?
StudyMember TestCode #130
Changes from all commits
ffd8fd6
e6434c9
79e740f
fe15445
7094c5f
0589123
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,11 +48,11 @@ dependencies { | |
| implementation 'org.springframework.boot:spring-boot-starter-actuator' | ||
| implementation 'org.springframework.boot:spring-boot-starter-aop' | ||
|
|
||
| // QueryDSL | ||
| implementation 'com.querydsl:querydsl-core:5.0.0' | ||
| implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta' | ||
| // QueryDSL (CVE-2024-49203 수정 버전) | ||
| implementation 'com.querydsl:querydsl-core:5.1.0' | ||
| implementation 'com.querydsl:querydsl-jpa:5.1.0:jakarta' | ||
|
|
||
| annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta' | ||
| annotationProcessor 'com.querydsl:querydsl-apt:5.1.0:jakarta' | ||
| annotationProcessor 'jakarta.annotation:jakarta.annotation-api' | ||
| annotationProcessor 'jakarta.persistence:jakarta.persistence-api' | ||
|
|
||
|
|
@@ -81,9 +81,18 @@ dependencies { | |
| testImplementation 'org.testcontainers:junit-jupiter' | ||
| testImplementation 'org.testcontainers:postgresql' | ||
| testRuntimeOnly 'org.junit.platform:junit-platform-launcher' | ||
|
|
||
| // Testcontainers | ||
| testImplementation 'org.testcontainers:testcontainers:1.19.3' | ||
| testImplementation 'org.testcontainers:junit-jupiter:1.19.3' | ||
| testImplementation 'org.testcontainers:postgresql:1.19.3' | ||
|
Comment on lines
+85
to
+88
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: The latest Testcontainers (Java) release as of Nov 29, 2025 is 2.0.2 (released Nov 13, 2025). [1] Sources: 🌐 Web query:
💡 Result:
References: Update Testcontainers to a newer version; 1.19.3 has known security vulnerabilities. Version 1.19.3 (released November 21, 2023) is now significantly outdated. As of November 2025, the latest stable version is 2.0.2 (released November 13, 2025), with 1.21.3 being the last 1.x release (June 28, 2025). More critically, 1.19.3 has transitive dependency vulnerabilities:
Upgrade to at least 1.21.3 (minimal 1.x update) or preferably 2.0.2 (latest). |
||
|
|
||
| // SpringDoc OpenAPI (테스트 용도) | ||
| implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' | ||
|
|
||
| // 보안 취약점 해결을 위한 전이 의존성 버전 지정 | ||
| implementation 'org.apache.commons:commons-compress:1.28.0' | ||
| implementation 'org.apache.commons:commons-lang3:3.18.0' | ||
|
|
||
| // S3 | ||
| implementation "software.amazon.awssdk:s3:2.31.32" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QueryDSL 5.1.0은 CVE-2024-49203의 해결 버전이 아니라 취약한 버전입니다.
QueryDSL 5.1.0은 JPAQuery의 orderBy 기능에서 SQL/HQL 인젝션 취약점이 존재하며, querydsl-jpa 5.1.0과 querydsl-apt 5.1.0이 영향을 받습니다. 문제는 QueryDSL 5.6.1과 6.10.1 버전에서 수정되었습니다. 현재 버전 5.1.0으로의 업그레이드는 CVE를 해결하지 못합니다. 최소한 5.6.1 이상으로 업그레이드하거나, 더 나아가 OpenFeign의 유지보수 중인 포크에서 6.10.1 이상으로 업그레이드를 고려해야 합니다.