{"schemaVersion":3,"id":"CVE-2023-6857","aliases":["UBUNTU-CVE-2023-6857","DEBIAN-CVE-2023-6857","CGA-cx7c-6r6h-x6px","CGA-rjxc-f97c-2rvw"],"status":"published","duplicateOf":null,"title":null,"description":"When resolving a symlink, a race may occur where the buffer passed to `readlink` may actually be smaller than necessary.\n*This bug only affects Firefox on Unix-based operating systems (Android, Linux, MacOS). Windows is unaffected.* This vulnerability affects Firefox ESR < 115.6, Thunderbird < 115.6, and Firefox < 121.","dates":{"published":"2023-12-19T13:38:37.621Z","modified":"2025-02-13T17:26:34.338Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":4.1,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00665,"percentile":0.509,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00665},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00665,"percentile":0.509}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00665,"percentile":0.509}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"chainguard","product":"firefox-esr","name":"firefox-esr","label":"firefox-esr","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/firefox-esr","purlType":"apk","versions":[{"text":"< 121.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 121.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"firefox-esr","name":"firefox-esr","label":"firefox-esr","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/firefox-esr","purlType":"deb","versions":[{"text":"< 115.6.0esr-1~deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 115.6.0esr-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 115.6.0esr-1~deb12u1 | < 115.6.0esr-1","eol":null,"hubHref":null},{"vendor":"debian","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/thunderbird","purlType":"deb","versions":[{"text":"< 1:115.6.0-1~deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:115.6.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:115.6.0-1~deb12u1 | < 1:115.6.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 121.0+build1-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 121.0+build1-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs102","name":"mozjs102","label":"mozjs102","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs102","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs78","name":"mozjs78","label":"mozjs78","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs78","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs91","name":"mozjs91","label":"mozjs91","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs91","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"< 1:115.6.0+build2-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:115.6.0+build2-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:115.6.0+build2-0ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:115.6.0+build2-0ubuntu0.20.04.1 | < 1:115.6.0+build2-0ubuntu0.22.04.1 | < 1:115.6.0+build2-0ubuntu1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null},{"text":"12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.0 | 12.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 121","noFixRecorded":false,"fixedIn":null},{"text":"< 121.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 121 | < 121.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"},{"vendor":"mozilla","product":"firefox_esr","name":"firefox esr","label":"firefox_esr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 115.6","noFixRecorded":false,"fixedIn":null},{"text":"< 115.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 115.6 | < 115.6","eol":null,"hubHref":"/vendor/mozilla/firefox_esr"},{"vendor":"mozilla","product":"thunderbird","name":"Thunderbird","label":"thunderbird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 115.6","noFixRecorded":false,"fixedIn":null},{"text":"< 115.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 115.6 | < 115.6","eol":null,"hubHref":"/vendor/mozilla/thunderbird"}],"affectedCount":15,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1796023","label":"bugzilla.mozilla.org/show_bug.cgi?id=1796023","hostname":"bugzilla.mozilla.org","tags":["REPORT","Issue Tracking","Permissions Required"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-54/","label":"www.mozilla.org/security/advisories/mfsa2023-54/","hostname":"www.mozilla.org","tags":["REPORT","Advisory","Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-55/","label":"www.mozilla.org/security/advisories/mfsa2023-55/","hostname":"www.mozilla.org","tags":["REPORT","Advisory","Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2023-56/","label":"www.mozilla.org/security/advisories/mfsa2023-56/","hostname":"www.mozilla.org","tags":["REPORT","Advisory","Vendor Advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5581","label":"www.debian.org/security/2023/dsa-5581","hostname":"www.debian.org","tags":["Advisory","Third Party Advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5582","label":"www.debian.org/security/2023/dsa-5582","hostname":"www.debian.org","tags":["Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00020.html","label":"lists.debian.org/debian-lts-announce/2023/12/msg00020.html","hostname":"lists.debian.org","tags":["Advisory","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00021.html","label":"lists.debian.org/debian-lts-announce/2023/12/msg00021.html","hostname":"lists.debian.org","tags":["Advisory","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202401-10","label":"security.gentoo.org/glsa/202401-10","hostname":"security.gentoo.org","tags":["Advisory","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-6857","label":"ubuntu.com/security/CVE-2023-6857","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-56/#CVE-2023-6857","label":"www.mozilla.org/en-US/security/advisories/mfsa2023-56/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-55/#CVE-2023-6857","label":"www.mozilla.org/en-US/security/advisories/mfsa2023-55/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-54/#CVE-2023-6857","label":"www.mozilla.org/en-US/security/advisories/mfsa2023-54/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6562-1","label":"ubuntu.com/security/notices/USN-6562-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6563-1","label":"ubuntu.com/security/notices/USN-6563-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-6857","label":"www.cve.org/CVERecord?id=CVE-2023-6857","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-6857","label":"security-tracker.debian.org/tracker/CVE-2023-6857","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3697-1","DLA-3698-1","DSA-5581-1","DSA-5582-1","MGASA-2024-0006","MGASA-2024-0012","OPENSUSE-SU-2024:13519-1","OPENSUSE-SU-2024:13531-1","OPENSUSE-SU-2024:14572-1","RHSA-2024:0001","RHSA-2024:0002","RHSA-2024:0003","RHSA-2024:0004","RHSA-2024:0005","RHSA-2024:0011","RHSA-2024:0012","RHSA-2024:0019","RHSA-2024:0021","RHSA-2024:0022","RHSA-2024:0023","RHSA-2024:0024","RHSA-2024:0025","RHSA-2024:0026","RHSA-2024:0027","RHSA-2024:0028","RHSA-2024:0029","RHSA-2024:0030","SUSE-SU-2023:4912-1","SUSE-SU-2023:4928-1","SUSE-SU-2023:4929-1","SUSE-SU-2024:0044-1","USN-6562-1","USN-6563-1"],"duplicates":[],"related":["CGA-RRMX-6W27-2JM6","OPENSUSE-SU-2024:13519-1","OPENSUSE-SU-2024:13531-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2023:4912-1","SUSE-SU-2023:4928-1","SUSE-SU-2023:4929-1","SUSE-SU-2024:0044-1","USN-6562-1","USN-6563-1"]},"timeline":[{"kind":"published","date":"2023-12-19T13:38:37.621Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:26:34.338Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:45:33.141Z","stale":false,"partial":false}}