{"id":"CVE-2018-6758","aliases":["ALPINE-CVE-2018-6758","BELL-CVE-2018-6758","DEBIAN-CVE-2018-6758","DLA-1275-1","EUVD-2018-18505","GHSA-gp37-5368-2566","UBUNTU-CVE-2018-6758","openSUSE-SU-2024:11490-1"],"status":"published","title":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based...","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02047,"percentile":0.81343,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2018-02-06T18:00:00Z","modified":"2026-10-23T18:03:08Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"uwsgi","fixed_in":["2.0.16-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"uwsgi","fixed_in":["2.0.15-10.2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"uwsgi","fixed_in":["2.0.15-10.2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"uwsgi","fixed_in":["2.0.15-10.2"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"uwsgi","fixed_in":["1.2.3+dfsg-5+deb7u2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"uwsgi","fixed_in":["1.9.17.1-5ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"uwsgi","fixed_in":["2.0.12-5ubuntu3.2"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"uwsgi","fixed_in":["2.0.19.1-3.10"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.16-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.15-10.2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3+dfsg-5+deb7u2"}]}],"versions":["1.2.3+dfsg-5","1.2.3+dfsg-5+deb7u1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.17.1-5ubuntu0.1"}]}],"versions":["1.9.13-4build1","1.9.17.1-5","1.9.17.1-5build2","1.9.17.1-5build4","1.9.17.1-5build5"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.12-5ubuntu3.2"}]}],"versions":["2.0.7-1ubuntu5","2.0.7-1ubuntu6","2.0.11.2-6ubuntu1","2.0.11.2-6ubuntu2","2.0.12-4ubuntu2","2.0.12-5ubuntu1","2.0.12-5ubuntu2","2.0.12-5ubuntu3","2.0.12-5ubuntu3.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"uwsgi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19.1-3.10"}]}]}],"products":[{"vendor":"unbit","product":"uwsgi"}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00010.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.unbit.it/pipermail/uwsgi/2018-February/008835.html","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6758"},{"url":"https://github.com/advisories/GHSA-gp37-5368-2566"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-6758","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2018-6758","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6758","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6758","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6758","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6758","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:00:00Z","modified":"2024-08-05T06:10:11.267Z","updated_at":"2026-11-02T14:35:06.320867Z"}],"euvd":[{"id":"EUVD-2018-18505","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:00:00Z","modified":"2024-08-05T06:10:11Z","updated_at":"2026-11-03T02:40:07.110514Z"}],"ghsa":[{"id":"GHSA-gp37-5368-2566","title":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based...","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2022-05-13T01:20:30Z","modified":"2023-02-01T05:06:10Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:19.146831Z"}],"nvd":[{"id":"CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:29:00.447Z","modified":"2026-06-17T02:02:14.15Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"ALPINE-CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:29:00.447Z","modified":"2026-10-23T17:17:55.284152025Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"BELL-CVE-2018-6758","title":"CVE-2018-6758 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:15.885142Z","modified":"2026-01-26T09:49:14.845399Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:14.701973Z"},{"id":"CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:29:00.447Z","modified":"2026-10-20T13:44:54.956057677Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"DEBIAN-CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:29:00.447Z","modified":"2026-10-23T18:03:08.435266455Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-6758","description":"The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.","status":"published","published":"2018-02-06T18:29:00Z","modified":"2025-09-08T16:44:46Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"DLA-1275-1","title":"uwsgi - security update","status":"published","published":"2018-02-10T00:00:00Z","modified":"2026-03-09T01:00:52.308644Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"openSUSE-SU-2024:11490-1","title":"apache2-mod_uwsgi-2.0.19.1-3.10 on GA media","description":"These are all security issues fixed in the apache2-mod_uwsgi-2.0.19.1-3.10 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:32:25.132099Z","updated_at":"2026-11-02T16:58:35.195147Z"}]}}
