{"id":"CVE-2019-3685","aliases":["EUVD-2019-13320","GHSA-j9gx-ccw3-w6cf","SUSE-SU-2019:2067-1","SUSE-SU-2022:4351-1","UBUNTU-CVE-2019-3685","openSUSE-SU-2019:1844-1","openSUSE-SU-2024:11133-1"],"status":"published","title":"Missing TLS certificate validation for HTTPS connections in osc","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00714,"percentile":0.53958,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2019-08-06T15:22:09Z","modified":"2026-10-17T12:55:50Z","fixes":[{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP1","package":"osc","fixed_in":["0.165.4-3.9.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.1","package":"osc","fixed_in":["0.165.4-lp151.2.6.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP1","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.165.4-3.9.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.182.0-15.12.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.152.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.159.0-1","0.160.0-1","0.161.1-1","0.162.1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.164.2-1","0.164.2-1build1","0.165.4-1","0.167.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.169.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.169.1-2","0.169.1-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.1-2","1.15.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.1-1"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.1","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.165.4-lp151.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"osc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.174.0-1.2"}]}],"bundled":2}],"products":[{"vendor":"open build service","product":"open build service"},{"vendor":"opensuse","product":"open_build_service"},{"vendor":"suse","product":"open build service"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1142518","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3685"},{"url":"https://github.com/advisories/GHSA-j9gx-ccw3-w6cf"},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20192067-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1129889","tags":["report"]},{"url":"https://bugzilla.suse.com/1138977","tags":["report"]},{"url":"https://bugzilla.suse.com/1140697","tags":["report"]},{"url":"https://bugzilla.suse.com/1142518","tags":["report"]},{"url":"https://bugzilla.suse.com/1142662","tags":["report"]},{"url":"https://bugzilla.suse.com/1144211","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-3685","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20224351-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1089025","tags":["report"]},{"url":"https://bugzilla.suse.com/1097996","tags":["report"]},{"url":"https://bugzilla.suse.com/1122675","tags":["report"]},{"url":"https://bugzilla.suse.com/1125243","tags":["report"]},{"url":"https://bugzilla.suse.com/1126055","tags":["report"]},{"url":"https://bugzilla.suse.com/1126058","tags":["report"]},{"url":"https://bugzilla.suse.com/1127932","tags":["report"]},{"url":"https://bugzilla.suse.com/1129757","tags":["report"]},{"url":"https://bugzilla.suse.com/1131512","tags":["report"]},{"url":"https://bugzilla.suse.com/1136584","tags":["report"]},{"url":"https://bugzilla.suse.com/1137477","tags":["report"]},{"url":"https://bugzilla.suse.com/1138165","tags":["report"]},{"url":"https://bugzilla.suse.com/1154972","tags":["report"]},{"url":"https://bugzilla.suse.com/1155953","tags":["report"]},{"url":"https://bugzilla.suse.com/1156501","tags":["report"]},{"url":"https://bugzilla.suse.com/1160446","tags":["report"]},{"url":"https://bugzilla.suse.com/1166537","tags":["report"]},{"url":"https://bugzilla.suse.com/1173926","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2019-3681","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-3685","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3685","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/M2AIZJVEMKESSHPXKBTNWAXKY4GTXTFO/#M2AIZJVEMKESSHPXKBTNWAXKY4GTXTFO","tags":["advisory"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2019-3685","title":"Missing TLS certificate validation for HTTPS connections in osc","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","status":"published","published":"2019-11-05T09:30:41.212Z","modified":"2024-09-16T16:49:06.631Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:20:23.048861Z"}],"euvd":[{"id":"EUVD-2019-13320","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","status":"published","published":"2019-11-05T09:30:41Z","modified":"2024-09-16T16:49:06Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T00:55:47.716817Z"}],"ghsa":[{"id":"GHSA-j9gx-ccw3-w6cf","title":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections...","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","status":"published","published":"2022-05-24T17:00:22Z","modified":"2023-01-28T05:07:37Z","updated_at":"2026-11-02T14:44:33.090384Z"}],"nvd":[{"id":"CVE-2019-3685","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","status":"published","published":"2019-11-05T10:15:12.653Z","modified":"2026-06-17T02:35:22.717Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:05:35.052973Z"}],"osv":[{"id":"UBUNTU-CVE-2019-3685","description":"Open Build Service before version 0.165.4 diddn't validate TLS certificates for HTTPS connections with the osc client binary","status":"published","published":"2019-11-05T10:15:00Z","modified":"2026-10-17T12:55:50.059314229Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"},{"id":"openSUSE-SU-2019:1844-1","title":"Security update for osc","description":"This update for osc to version 0.165.4 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2019-3685: Fixed broken TLS certificate handling allowing for a Man-in-the-middle attack (bsc#1142518).\n\nNon-security issues fixed:\n\n- support different token operations (runservice, release and rebuild) (requires OBS 2.10)\n- fix osc token decode error\n- offline build mode is now really offline and does not try to download the buildconfig\n- osc build -define now works with python3\n- fixes an issue where the error message on osc meta -e was not parsed correctly\n- osc maintainer -s now works with python3\n- simplified and fixed osc meta -e (bsc#1138977) \n- osc lbl now works with non utf8 encoding (bsc#1129889)\n- add simpleimage as local build type \n- allow optional fork when creating a maintenance request\n- fix RPMError fallback\n- fix local caching for all package formats\n- fix appname for trusted cert store\n- osc -h does not break anymore when using plugins \n- switch to difflib.diff_bytes and sys.stdout.buffer.write for diffing.\n  This will fix all decoding issues with osc diff, osc ci and osc rq -d\n- fix osc ls -lb handling empty size and mtime\n- removed decoding on osc api command.\n\nThis update was imported from the SUSE:SLE-15-SP1:Update update project.","status":"published","published":"2019-08-12T14:08:22Z","modified":"2026-02-04T03:16:30.548831Z","updated_at":"2026-11-02T16:58:30.784344Z"},{"id":"openSUSE-SU-2024:11133-1","title":"osc-0.174.0-1.2 on GA media","description":"These are all security issues fixed in the osc-0.174.0-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:39:55.536642Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2019:2067-1","title":"Security update for osc","description":"This update for osc to version 0.165.4 fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2019-3685: Fixed broken TLS certificate handling allowing for a Man-in-the-middle attack (bsc#1142518).\n\nNon-security issues fixed:\n\n- support different token operations (runservice, release and rebuild) (requires OBS 2.10)\n- fix osc token decode error\n- offline build mode is now really offline and does not try to download the buildconfig\n- osc build -define now works with python3\n- fixes an issue where the error message on osc meta -e was not parsed correctly\n- osc maintainer -s now works with python3\n- simplified and fixed osc meta -e (bsc#1138977) \n- osc lbl now works with non utf8 encoding (bsc#1129889)\n- add simpleimage as local build type \n- allow optional fork when creating a maintenance request\n- fix RPMError fallback\n- fix local caching for all package formats\n- fix appname for trusted cert store\n- osc -h does not break anymore when using plugins \n- switch to difflib.diff_bytes and sys.stdout.buffer.write for diffing.\n  This will fix all decoding issues with osc diff, osc ci and osc rq -d\n- fix osc ls -lb handling empty size and mtime\n- removed decoding on osc api command.\n","status":"published","published":"2019-08-06T15:22:09Z","modified":"2026-02-04T03:31:27.184712Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2022:4351-1","title":"Security update for osc","description":"This update for osc fixes the following issues:\n\n  osc was updated to version 0.182.0 (bsc#1154972, bsc#1144211, bsc#1142662, bsc#1140697, bsc#1138165):\n\n  - Added MFA support (jsc#OBS-203).\n  - CVE-2019-3681: Fixed vulnerability where osc stored downloaded RPMs in network controlled paths (bsc#1122675).\n  - CVE-2019-3685: Fixed broken TLS certificate handling (bsc#1142518). \n\n  Bugfixes:\n  - Removed use of chardet to guess encoding. Utf-8 or latin-1 is now assumed, which will speed up decoding (bsc#1173926).\n  - Added helper method _html_escape to enable python3.8 and python2.* compatibility (bsc#1166537).\n  - Added MR creation to honor orev (bsc#1160446).\n  - Fixed local build outside of the working copy of a package (bsc#1136584).\n  - Don't enforce password reuse (bsc#1156501).\n  - osc vc --file=foo bar.changes now writes the content from foo into bar.changes instead of creating a new file (bsc#1155953).\n  - Fixed decoding on osc lbl (bsc#1137477).\n  - Simplified and fixed osc meta -e (bsc#1138977).\n  - osc lbl now works with non utf8 encoding (bsc#1129889).\n  - Added full python3 compatibility (bsc#1125243, bsc#1131512, bsc#1129757).\n  - Fixed slowdown of rbl with readline(bufsize) function (bsc#1127932).\n  - Fixed osc build -p dir TypeError (bsc#1126055).\n  - Fixed osc buildinfo -p TypeError (bsc#1126058).\n  - Added new options --unexpand and --meta to diff command (bsc#1089025).\n  - Fixed Requires to python-base which does not contain ssl.py (bsc#1097996).\n","status":"published","published":"2022-12-07T16:38:34Z","modified":"2026-02-04T04:25:29.581325Z","updated_at":"2026-11-02T15:53:51.853735Z"}]}}
