{"cve":{"cve_id":"CVE-2022-41720","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.01199,"epss_percentile":0.65871,"epss_as_of":"2026-08-26","description":"On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a given directory. These functions permit access to Windows device files under that root. For example, os.DirFS(\"C:/tmp\").Open(\"COM1\") opens the COM1 device. Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the drive and access any path on the system. With fix applied, the behavior of os.DirFS(\"\") has changed. Previously, an empty root was treated equivalently to \"/\", so os.DirFS(\"\").Open(\"tmp\") would open the path \"/tmp\". This now returns an error.","published_at":"2022-12-07T16:11:18.867000Z","last_modified_at":null,"cvss_v3_score":7.5,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"none","ssvc_automatable":true,"ssvc_technical_impact":"partial","cwes":null,"nvd_references":["https://go.dev/issue/56694","https://go.dev/cl/455716","https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ","https://pkg.go.dev/vuln/GO-2022-1143"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-29T01:20:09.065395Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"N","value_label":"None"},{"metric":"A","name":"Availability","value":"N","value_label":"None"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"net-http","product_name":"net/http","version_start":"0","version_start_inclusive":true,"version_end":"1.18.9","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:net-http:0:1.18.9"},{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"net-http","product_name":"net/http","version_start":"1.19.0-0","version_start_inclusive":true,"version_end":"1.19.4","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:net-http:1.19.0-0:1.19.4"},{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"os","product_name":"os","version_start":"0","version_start_inclusive":true,"version_end":"1.18.9","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:os:0:1.18.9"},{"vendor_slug":"go-standard-library","vendor_name":"Go standard library","product_slug":"os","product_name":"os","version_start":"1.19.0-0","version_start_inclusive":true,"version_end":"1.19.4","version_end_inclusive":false,"cpe23_uri":"cve5:go-standard-library:os:1.19.0-0:1.19.4"}],"exploit_refs":[],"news":[],"references":[{"url":"https://go.dev/issue/56694","source_type":"MISC","tags":[]},{"url":"https://go.dev/cl/455716","source_type":"MISC","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ","source_type":"MISC","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-1143","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2022-12-07T16:11:18.867000Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-28T17:24:02.830174Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:24:02.830174Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:24:02.830174Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"ssvc_changed","at":"2026-06-29T01:20:09.065395Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:20:09.065395Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T01:20:09.065395Z","label":"SSVC decision revised","source":"vulnrichment"}]}