← Back
CVE-2023-49277
Cross-Site Scripting (XSS) in dpaste (CVE-2023-49277)
Summary
cross-site scripting in dpaste (CVE-2023-49277). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `3.8` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2023-49277** has been found in dpaste.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade dpaste to **3.8** or later.
If unsure, ask your IT team or search "dpaste CVE-2023-49277" on the vendor's site.
CVE-2023-49277 (dpaste) — CWE-79 /
Attack vector: remote (network-reachable) / unauthenticated
Patched: `3.8` — apply immediately
Workaround: At this time, the recommended course of action is to apply the provided patch to the affected systems.
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
**Cross-site scripting (XSS)** (CWE-79) exists in dpaste.
📍 Affected scope
dpaste — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **3.8**.
🛡️ Workaround
Workaround: At this time, the recommended course of action is to apply the provided patch to the affected systems.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'dpaste' .` 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 'dpaste' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `dpaste` を grep し、稼働しているサービス・バージョンを把握する。
-
5Apply temporary workaround mitigate
At this time, the recommended course of action is to apply the provided patch to the affected systems.パッチが適用されるまでの応急処置として、At this time, the recommended course of action is to apply the provided patch to the affected systems. を実施。回避策の副作用 (機能低下) を確認した上で。
-
6Apply patch patch
Upgrade dpaste to 3.8ステージング環境で 3.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
PyPI
dpaste
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8"}]}]
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2023-49277
- advisory https://github.com/advisories/GHSA-r8j9-5cj7-cv39
- package https://github.com/DarrenOfficial/dpaste
- package https://pypi.org/project/dpaste
- web https://github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39
- web https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086