{"id":"CVE-2022-29526","aliases":["CVE-2022-29526","GHSA-p782-xgp4-8hr8","BIT-GOLANG-2022-29526","GO-2022-0493"],"related":["CGA-5393-78xh-45fv"],"kind":"vulnerability","state":"published","title":"golang.org/x/sys/unix has Incorrect privilege reporting in syscall","summary":"Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.","source":"cvelist"},{"lang":"en","text":"Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Reporting in syscall. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.\n\n### Specific Go Packages Affected\ngolang.org/x/sys/unix","format":"markdown","source":"ghsa"},{"lang":"en","text":"When called with a non-zero flags parameter, the Faccessat function can incorrectly report that a file is accessible.","format":"markdown","source":"go"},{"lang":"es","text":"Go versiones anteriores a 1.17.10 y 1.18.x anteriores a 1.18.2, presenta una Asignación Incorrecta de Privilegios. Cuando es llamada con un parámetro flags distinto de cero, la función Faccessat podría informar incorrectamente de que un archivo es accesible","source":"nvd"}],"published":"2022-06-22T13:15:32.000Z","modified":"2026-09-10T03:49:55.203Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20220412211240-33da011f77ad"}],"ecosystem":"Go","package":"golang.org/x/sys","purl":"pkg:golang/golang.org/x/sys","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.10"},{"type":"semver","introduced":"1.18.0-0","status":"affected","fixed":"1.18.2"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20220412211240-33da011f77ad"}],"ecosystem":"Go","package":"golang.org/x/sys","purl":"pkg:golang/golang.org/x/sys","source":"go"},{"ranges":[{"status":"affected","fixed":"1.17.10"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.2"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"beegfs_csi_driver","cpe":"cpe:2.3:a:netapp:beegfs_csi_driver:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.10"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.2"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-announce","tags":["advisory","issue-tracking","mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/golang/go/issues/52313","tags":["advisory","exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/Y5qrqw_lWdU","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0001/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29526","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/golang/go","tags":["package"],"sources":["ghsa"]},{"url":"https://go.dev/cl/399539","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://go.dev/cl/400074","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://go.dev/issue/52313","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q6GE5EQGE4L2KRVGW4T75QVIYAXCLO5X","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RQXU752ALW53OJAF5MG3WMR5CCZVLWW6","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z55VUVGO7E5PJFXIOVAY373NZRHBNCI5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0493","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0001","tags":["web"],"sources":["ghsa"]}],"credits":["Joël Gähwiler (@256dpi)"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29526","url":"https://www.cve.org/CVERecord?id=CVE-2022-29526","licence":"CVE Terms of Use","modified":"2024-08-03T06:26:06.342Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p782-xgp4-8hr8","url":"https://github.com/advisories/GHSA-p782-xgp4-8hr8","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:55.203Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0493","url":"https://pkg.go.dev/vuln/GO-2022-0493","licence":"CC-BY-4.0","modified":"2026-02-04T03:42:54.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29526","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29526","licence":"Public domain","modified":"2026-06-17T04:40:22.153Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-29526","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-29526","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.870Z"}],"updatedAt":"2026-11-25T22:58:12.492Z","epss":{"score":0.02259,"percentile":0.83701,"date":"2026-11-30T12:00:22.000Z"}}