🔍 CVE-2022-39275

5.3
CVSS Score
MEDIUM
2022-10-06
2026-06-17 04:58
✅ 완료

🇰🇷 한글 설명

Saleor headless GraphQL 커머스 플랫폼에서 일부 GraphQL mutation이 ID 타입 입력을 적절히 검증하지 않아 발생하는 취약점입니다. 인증된 사용자가 권한이 없는 데이터베이스 객체에 접근하여 데이터베이스 행 수를 추정하거나, staff 및 고객의 이메일과 성명을 노출할 수 있습니다.

💡 쉬운 설명

로그인한 사용자가 입력값의 형식을 조작하여 원래는 볼 수 없는 다른 사람의 개인정보나 데이터베이스 정보를 몰래 훔쳐볼 수 있는 문제입니다. 이로 인해 고객의 이메일 주소나 이름 같은 민감한 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

Saleor is a headless, GraphQL commerce platform. In affected versions some GraphQL mutations were not properly checking the ID type input which allowed to access database objects that the authenticated user may not be allowed to access. This vulnerability can be used to expose the following information: Estimating database row counts from tables with a sequential primary key or Exposing staff user and customer email addresses and full name through the `assignNavigation()` mutation. This issue has been patched in main and backported to multiple releases (3.7.17, 3.6.18, 3.5.23, 3.4.24, 3.3.26, 3.2.14, 3.1.24). Users are advised to upgrade. There are no known workarounds for this issue.

📍 영향받는 시스템

Saleor (패치 전 버전: 3.7.17, 3.6.18, 3.5.23, 3.4.24, 3.3.26, 3.2.14, 3.1.24 미만 버전)

⚔️ 공격 벡터

GraphQL mutation 호출 시 ID 타입 검증 미흡을 이용한 비정상적인 입력값 전달

🛡️ 대응 방법

Saleor를 최신 보안 패치가 적용된 버전(3.7.17, 3.6.18, 3.5.23, 3.4.24, 3.3.26, 3.2.14, 3.1.24 이상)으로 업그레이드

🔧 검증 코드

출력된 Saleor 버전이 보안 패치가 적용된 최소 버전 이상인지 확인합니다.

Shell / Script
pip show saleor | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Spring for GraphQL