CVE-2022-45299 json
webbrowser-rs allows attackers to access arbitrary files via supplying a crafted URL
published 2023-01-13 3 y ago modified 2026-06-17 4 mo ago also GHSA-m589-mv4q-p7rj , EUVD-2023-0503
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue in the IpFile argument of rust-lang webbrowser-rs v0.8.2 allows attackers to access arbitrary files via supplying a crafted URL.
Patch / fix
- crates.io webbrowser 0.8.3
- webbrowser_project webbrowser 0.8.3
- rust-webbrowser Debian 14, Debian 13 0.8.7-1
debian advisories DEBIAN-CVE-2022-45299
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/offalltn/CVE-2022-45299 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | webbrowser | <0.8.3 |
0.8.3 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/amodm/webbrowser-rs/commit/431b5139e274b7e456bea27e768aaa121b97be4c
web
-
github.com
/offalltn/CVE-2022-45299
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-45299
advisory
-
github.com
/amodm/webbrowser-rs
package
-
github.com
/amodm/webbrowser-rs/releases/tag/v0.8.3
web
Sources
- CVE List CVE-2022-45299
- GitHub Advisory GHSA-m589-mv4q-p7rj
- NVD CVE-2022-45299
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.