← Back
CVE-2022-47950
Vulnerability in swift (CVE-2022-47950)
Summary
vulnerability in swift (CVE-2022-47950). Confidential information can be exposed externally. Mitigation: upgrade to `2.30.1` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2022-47950** has been found in swift.
Confidential information can be exposed externally. CVSS score: ?/10.
What to do: upgrade swift to **2.30.1** or later.
If unsure, ask your IT team or search "swift CVE-2022-47950" on the vendor's site.
CVE-2022-47950 (swift) — CWE-552 /
Attack vector: remote (network-reachable) / no user interaction
Patched: `2.30.1` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-552) exists in swift.
📍 Affected scope
swift — .
🔥 Severity
Severity: ?. Confidential information can be exposed externally
🔧 How to fix
Update to **2.30.1**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'swift' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'swift' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `swift` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade swift to 2.30.1ステージング環境で 2.30.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
PyPI
swift
[{"type":"ECOSYSTEM","events":[{"introduced":"2.30.0"},{"fixed":"2.30.1"}]}]
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2022-47950
- advisory https://github.com/advisories/GHSA-274c-rx2j-2v3x
- package https://github.com/openstack/swift
- package https://pypi.org/project/swift
- web https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640
- web https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0
- web https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f
- web https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e
- web https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383
- web https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc
- web https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e
- web https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b
- web https://launchpad.net/bugs/1998625
- web https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html
- web https://security.openstack.org/ossa/OSSA-2023-001.html
- web https://www.debian.org/security/2023/dsa-5327