Bug 1162504 - (CVE-2019-17361) VUL-0: CVE-2019-17361: salt: salt-api with the ssh client enabled is vulnerable to command injection
(CVE-2019-17361)
VUL-0: CVE-2019-17361: salt: salt-api with the ssh client enabled is vulnera...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Major
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/251298/
CVSSv3.1:SUSE:CVE-2019-17361:8.1:(AV...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-03 13:34 UTC by Alexandros Toptsoglou
Modified: 2022-04-14 15:39 UTC (History)
6 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2020-02-03 13:34:02 UTC
rh#1796636

In SaltStack Salt through 2019.2.0, the salt-api NET API with the ssh client enabled is vulnerable to command injection. This allows an unauthenticated attacker with network access to the API endpoint to execute arbitrary code on the salt-api host.

Reference:
https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1796636
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-17361
http://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-17361.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17361
https://github.com/saltstack/salt/commits/master
https://docs.saltstack.com/en/latest/topics/releases/2019.2.3.html#security-fix
Comment 1 Alexandros Toptsoglou 2020-02-03 13:35:52 UTC
Tracked all codestreams as affected. Version 2019.2.3 ships the fix. The commit that deals with the issue seems to be at [1]. 

[1] https://github.com/saltstack/salt/commit/bca115f3f00fbde564dd2f12bf036b5d2fd08387
Comment 4 Jochen Breuer 2020-03-04 12:28:42 UTC
bsc was added to the relevant changelogs.
Comment 7 Swamp Workflow Management 2020-03-05 13:30:17 UTC
This is an autogenerated message for OBS integration:
This bug (1162504) was mentioned in
https://build.opensuse.org/request/show/781848 Factory / salt
Comment 9 Swamp Workflow Management 2020-03-10 14:12:50 UTC
SUSE-RU-2020:0625-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: recommended (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:
SUSE Linux Enterprise Server for SAP 15 (src):    salt-2019.2.0-5.64.1
SUSE Linux Enterprise Server 15-LTSS (src):    salt-2019.2.0-5.64.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    salt-2019.2.0-5.64.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    salt-2019.2.0-5.64.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Swamp Workflow Management 2020-03-13 17:29:09 UTC
SUSE-RU-2020:14320-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: recommended (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2020-03-13 17:32:58 UTC
SUSE-SU-2020:0684-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: security (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:
SUSE Linux Enterprise Module for Server Applications 15-SP1 (src):    salt-2019.2.0-6.24.1
SUSE Linux Enterprise Module for Python2 15-SP1 (src):    salt-2019.2.0-6.24.1
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    salt-2019.2.0-6.24.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Swamp Workflow Management 2020-03-13 17:56:17 UTC
SUSE-RU-2020:0685-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: recommended (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:
SUSE Manager Tools 12 (src):    salt-2019.2.0-46.88.1
SUSE Manager Server 3.2 (src):    salt-2019.2.0-46.88.1
SUSE Manager Proxy 3.2 (src):    salt-2019.2.0-46.88.1
SUSE Linux Enterprise Point of Sale 12-SP2 (src):    salt-2019.2.0-46.88.1
SUSE Linux Enterprise Module for Advanced Systems Management 12 (src):    salt-2019.2.0-46.88.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Swamp Workflow Management 2020-03-13 18:18:45 UTC
SUSE-RU-2020:14319-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: recommended (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 15 Swamp Workflow Management 2020-03-18 20:17:43 UTC
openSUSE-SU-2020:0357-1: An update that solves two vulnerabilities and has 7 fixes is now available.

Category: security (moderate)
Bug References: 1135656,1153611,1157465,1158940,1159118,1160931,1162327,1162504,1165425
CVE References: CVE-2019-17361,CVE-2019-18897
Sources used:
openSUSE Leap 15.1 (src):    salt-2019.2.0-lp151.5.12.1
Comment 16 Swamp Workflow Management 2020-03-24 20:14:52 UTC
SUSE-SU-2020:14331-1: An update that solves one vulnerability and has four fixes is now available.

Category: security (important)
Bug References: 1157465,1162327,1162504,1163981,1165425
CVE References: CVE-2019-18897
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Swamp Workflow Management 2020-03-24 20:16:10 UTC
SUSE-SU-2020:0763-1: An update that solves one vulnerability and has four fixes is now available.

Category: security (important)
Bug References: 1157465,1162327,1162504,1163981,1165425
CVE References: CVE-2019-18897
Sources used:
SUSE Manager Tools 15-BETA (src):    salt-2019.2.3-8.12.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 18 Swamp Workflow Management 2020-03-24 20:18:06 UTC
SUSE-SU-2020:14332-1: An update that solves one vulnerability and has four fixes is now available.

Category: security (important)
Bug References: 1157465,1162327,1162504,1163981,1165425
CVE References: CVE-2019-18897
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 19 Swamp Workflow Management 2020-03-24 20:23:01 UTC
SUSE-SU-2020:0762-1: An update that solves one vulnerability and has four fixes is now available.

Category: security (important)
Bug References: 1157465,1162327,1162504,1163981,1165425
CVE References: CVE-2019-18897
Sources used:
SUSE Manager Tools 12-BETA (src):    salt-2019.2.3-49.12.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 22 Swamp Workflow Management 2020-06-23 16:39:46 UTC
SUSE-SU-2020:14402-1: An update that solves 11 vulnerabilities and has 245 fixes is now available.

Category: security (moderate)
Bug References: 1002529,1003449,1004047,1004260,1004723,1008933,1011304,1011800,1012398,1012999,1013876,1013938,1015882,1017078,1019386,1020831,1022562,1022841,1023535,1024406,1025896,1027044,1027240,1027426,1027722,1030009,1030073,1032213,1032452,1032931,1035914,1036125,1038855,1039370,1040886,1041993,1042749,1043111,1044719,1050003,1051948,1052264,1053376,1053955,1057635,1059291,1059758,1060230,1061407,1062462,1062464,1063419,1064520,1065792,1068446,1068566,1070372,1071322,1072599,1075950,1076578,1079048,1080290,1081151,1081592,1083294,1085667,1087055,1087278,1087581,1087891,1088070,1088888,1089112,1089362,1089526,1091371,1092161,1092373,1094055,1094190,1095507,1095651,1095942,1096514,1097174,1097413,1098394,1099323,1099460,1099887,1099945,1100142,1100225,1100697,1101780,1101812,1101880,1102013,1102218,1102265,1102819,1103090,1103530,1103696,1104034,1104154,1104491,1106164,1107333,1108557,1108834,1108969,1108995,1109023,1109893,1110938,1111542,1112874,1113698,1113699,1113784,1114029,1114197,1114474,1114824,1116343,1116837,1117995,1121091,1121439,1122663,1122680,1123044,1123512,1123865,1124277,1125015,1125610,1125744,1127389,1128061,1128554,1129079,1129243,1130077,1130588,1130784,1131114,1132076,1133523,1133647,1134860,1135360,1135507,1135567,1135732,1135881,1137642,1138454,1139761,1140193,1140912,1143301,1146192,1146382,1148311,1148714,1150447,1151650,1151947,1152366,1153090,1153277,1153611,1154620,1154940,1155372,1157465,1157479,1158441,1159284,1162327,1162504,1163871,1163981,1165425,1165572,1167437,1167556,1168340,1169604,1169800,1170104,1170288,1170595,1171687,1171906,1172075,1173072,769106,769108,776615,849184,849204,849205,879904,887879,889605,892707,902494,908849,926318,932288,945380,948245,955373,958350,959572,963322,965403,967803,969320,970669,971372,972311,972490,975093,975303,975306,975733,975757,976148,977264,978150,978833,979448,979676,980313,983017,983512,985112,985661,986019,987798,988506,989193,989798,990029,990439,990440,991048,993039,993549,996455,999852
CVE References: CVE-2016-1866,CVE-2016-9639,CVE-2017-12791,CVE-2017-14695,CVE-2017-14696,CVE-2018-15750,CVE-2018-15751,CVE-2019-17361,CVE-2019-18897,CVE-2020-11651,CVE-2020-11652
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 24 Swamp Workflow Management 2020-07-21 04:38:23 UTC
SUSE-SU-2020:14431-1: An update that solves 11 vulnerabilities and has 251 fixes is now available.

Category: security (moderate)
Bug References: 1002529,1003449,1004047,1004260,1004723,1008933,1011304,1011800,1012398,1012999,1013876,1013938,1015882,1017078,1019386,1020831,1022562,1022841,1023535,1024406,1025896,1027044,1027240,1027426,1027722,1030009,1030073,1032213,1032452,1032931,1035914,1036125,1038855,1039370,1040886,1041993,1042749,1043111,1044719,1050003,1051948,1052264,1053376,1053955,1057635,1059291,1059758,1060230,1061407,1062462,1062464,1063419,1064520,1065792,1068446,1068566,1070372,1071322,1072599,1075950,1076578,1079048,1080290,1081151,1081592,1083294,1085667,1087055,1087278,1087581,1087891,1088070,1088888,1089112,1089362,1089526,1091371,1092161,1092373,1094055,1094190,1095507,1095651,1095942,1096514,1097174,1097413,1098394,1099323,1099460,1099887,1099945,1100142,1100225,1100697,1101780,1101812,1101880,1102013,1102218,1102265,1102819,1103090,1103530,1103696,1104034,1104154,1104491,1106164,1107333,1108557,1108834,1108969,1108995,1109023,1109893,1110938,1111542,1112874,1113698,1113699,1113784,1114029,1114197,1114474,1114824,1116343,1116837,1117995,1121091,1121439,1122663,1122680,1123044,1123512,1123865,1124277,1125015,1125610,1125744,1127389,1128061,1128554,1129079,1129243,1130077,1130588,1130784,1131114,1132076,1133523,1133647,1134860,1135360,1135507,1135567,1135656,1135732,1135881,1137642,1138454,1138952,1139761,1140193,1140912,1143301,1146192,1146382,1148311,1148714,1150447,1151650,1151947,1152366,1153090,1153277,1153611,1154620,1154940,1155372,1157465,1157479,1158441,1158940,1159118,1159284,1160931,1162327,1162504,1163871,1165425,1165572,1167437,1167556,1168340,1169604,1169800,1170042,1170104,1170288,1170595,1171687,1171906,1172075,1173072,1174165,769106,769108,776615,849184,849204,849205,879904,887879,889605,892707,902494,908849,926318,932288,945380,948245,955373,958350,959572,963322,965403,967803,969320,970669,971372,972311,972490,975093,975303,975306,975733,975757,976148,977264,978150,978833,979448,979676,980313,983017,983512,985112,985661,986019,987798,988506,989193,989798,990029,990439,990440,991048,993039,993549,996455,999852
CVE References: CVE-2016-1866,CVE-2016-9639,CVE-2017-12791,CVE-2017-14695,CVE-2017-14696,CVE-2018-15750,CVE-2018-15751,CVE-2019-17361,CVE-2019-18897,CVE-2020-11651,CVE-2020-11652
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 25 Jochen Breuer 2020-11-11 09:33:21 UTC
From my point of view this can be close. Alexandros, what do you think?
Comment 28 Nathan Cutler 2020-11-18 20:46:02 UTC
@Alexandros - I don't think our submissions to  

    SUSE:SLE-12:Update:Products:Update/salt

(which is Salt 2016.11.4) address this bug. Do you know for sure that 2016.11.4 is affected, and if yes, do you know if there is a patch floating around? If so, could try to apply it.
Comment 34 Swamp Workflow Management 2021-02-08 14:56:42 UTC
SUSE-SU-2021:0315-1: An update that solves 14 vulnerabilities and has 218 fixes is now available.

Category: security (moderate)
Bug References: 1002529,1004047,1004260,1004723,1008933,1011304,1011800,1012398,1012999,1017078,1019386,1020831,1022562,1022841,1023535,1025896,1027044,1027240,1027722,1030009,1030073,1032213,1032452,1032931,1035914,1036125,1038855,1039370,1040886,1041993,1042749,1043111,1050003,1051948,1052264,1053376,1053955,1057635,1059291,1059758,1060230,1061407,1062462,1062464,1063419,1064520,1065792,1068446,1068566,1071322,1072599,1075950,1079048,1081592,1083110,1087055,1087278,1087581,1087891,1088888,1089112,1089362,1089526,1091371,1092161,1092373,1094055,1095507,1095651,1095942,1096514,1097174,1097413,1098394,1099323,1099460,1099887,1099945,1100142,1100225,1100697,1101780,1101812,1101880,1102013,1102218,1102248,1102265,1102819,1103530,1104154,1104491,1106164,1107333,1108557,1108834,1108969,1108995,1109893,1110938,1112874,1113698,1113699,1113784,1114029,1114197,1114474,1114824,1116343,1116837,1117995,1121091,1121439,1122663,1122680,1123044,1123512,1123865,1124277,1125015,1128061,1128554,1129079,1130588,1130784,1131114,1132076,1133523,1133647,1134860,1135360,1135507,1135567,1135656,1135732,1137642,1138952,1139761,1140193,1140912,1143301,1146192,1146382,1148714,1150447,1151650,1151947,1152366,1153611,1154620,1157465,1157479,1158441,1158940,1159118,1159284,1159670,1160931,1162327,1162504,1165425,1165572,1167437,1167556,1168340,1169604,1169800,1170042,1170104,1170288,1170595,1171461,1171906,1172075,1172211,1173072,1173909,1173911,1173936,1174165,1175549,1175987,1176024,1176294,1176397,1176480,1177867,1178319,1178361,1178362,1178485,849184,849204,849205,955373,958350,959572,963322,965403,967803,969320,970669,971372,972311,972490,975093,975303,975306,975733,975757,976148,978150,978833,979448,979676,980313,983017,983512,985112,985661,986019,988506,989193,989798,990029,990439,990440,991048,993039,993549,996455,999852
CVE References: CVE-2016-1866,CVE-2016-9639,CVE-2017-12791,CVE-2017-14695,CVE-2017-14696,CVE-2018-15750,CVE-2018-15751,CVE-2019-17361,CVE-2019-18897,CVE-2020-11651,CVE-2020-11652,CVE-2020-16846,CVE-2020-17490,CVE-2020-25592
JIRA References: 
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 35 Swamp Workflow Management 2021-02-08 15:32:06 UTC
SUSE-SU-2021:0316-1: An update that solves 14 vulnerabilities and has 218 fixes is now available.

Category: security (moderate)
Bug References: 1002529,1004047,1004260,1004723,1008933,1011304,1011800,1012398,1012999,1017078,1019386,1020831,1022562,1022841,1023535,1025896,1027044,1027240,1027722,1030009,1030073,1032213,1032452,1032931,1035914,1036125,1038855,1039370,1040886,1041993,1042749,1043111,1050003,1051948,1052264,1053376,1053955,1057635,1059291,1059758,1060230,1061407,1062462,1062464,1063419,1064520,1065792,1068446,1068566,1071322,1072599,1075950,1079048,1081592,1083110,1087055,1087278,1087581,1087891,1088888,1089112,1089362,1089526,1091371,1092161,1092373,1094055,1095507,1095651,1095942,1096514,1097174,1097413,1098394,1099323,1099460,1099887,1099945,1100142,1100225,1100697,1101780,1101812,1101880,1102013,1102218,1102248,1102265,1102819,1103530,1104154,1104491,1106164,1107333,1108557,1108834,1108969,1108995,1109893,1110938,1112874,1113698,1113699,1113784,1114029,1114197,1114474,1114824,1116343,1116837,1117995,1121091,1121439,1122663,1122680,1123044,1123512,1123865,1124277,1125015,1128061,1128554,1129079,1130588,1130784,1131114,1132076,1133523,1133647,1134860,1135360,1135507,1135567,1135656,1135732,1137642,1138952,1139761,1140193,1140912,1143301,1146192,1146382,1148714,1150447,1151650,1151947,1152366,1153611,1154620,1157465,1157479,1158441,1158940,1159118,1159284,1159670,1160931,1162327,1162504,1165425,1165572,1167437,1167556,1168340,1169604,1169800,1170042,1170104,1170288,1170595,1171461,1171906,1172075,1172211,1173072,1173909,1173911,1173936,1174165,1175549,1175987,1176024,1176294,1176397,1176480,1177867,1178319,1178361,1178362,1178485,849184,849204,849205,955373,958350,959572,963322,965403,967803,969320,970669,971372,972311,972490,975093,975303,975306,975733,975757,976148,978150,978833,979448,979676,980313,983017,983512,985112,985661,986019,988506,989193,989798,990029,990439,990440,991048,993039,993549,996455,999852
CVE References: CVE-2016-1866,CVE-2016-9639,CVE-2017-12791,CVE-2017-14695,CVE-2017-14696,CVE-2018-15750,CVE-2018-15751,CVE-2019-17361,CVE-2019-18897,CVE-2020-11651,CVE-2020-11652,CVE-2020-16846,CVE-2020-17490,CVE-2020-25592
JIRA References: 
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 36 Swamp Workflow Management 2021-02-12 23:18:48 UTC
SUSE-SU-2021:14623-1: An update that solves four vulnerabilities and has 19 fixes is now available.

Category: security (moderate)
Bug References: 1083110,1157479,1158441,1159284,1162504,1163981,1165425,1167556,1169604,1171257,1171461,1172211,1173909,1173911,1175549,1176293,1176823,1178319,1178361,1178362,1178485,1179566,1180584
CVE References: CVE-2019-17361,CVE-2020-16846,CVE-2020-17490,CVE-2020-25592
JIRA References: 
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 37 Swamp Workflow Management 2021-02-12 23:22:56 UTC
SUSE-SU-2021:14624-1: An update that solves four vulnerabilities and has 19 fixes is now available.

Category: security (moderate)
Bug References: 1083110,1157479,1158441,1159284,1162504,1163981,1165425,1167556,1169604,1171257,1171461,1172211,1173909,1173911,1175549,1176293,1176823,1178319,1178361,1178362,1178485,1179566,1180584
CVE References: CVE-2019-17361,CVE-2020-16846,CVE-2020-17490,CVE-2020-25592
JIRA References: 
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 38 Swamp Workflow Management 2021-02-15 20:15:26 UTC
SUSE-SU-2021:0480-1: An update that solves four vulnerabilities and has 19 fixes is now available.

Category: security (moderate)
Bug References: 1083110,1157479,1158441,1159284,1162504,1163981,1165425,1167556,1169604,1171257,1171461,1172211,1173909,1173911,1175549,1176293,1176823,1178319,1178361,1178362,1178485,1179566,1180584
CVE References: CVE-2019-17361,CVE-2020-16846,CVE-2020-17490,CVE-2020-25592
JIRA References: 
Sources used:

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 42 Pablo Suárez Hernández 2021-05-05 11:27:33 UTC
I think we're done here now.

AFAIK SES5 is already EOL, so IIUC we won't need to submit a patch for 2016.11.10

I'm setting back the assignee to Security team. Thanks!
Comment 46 Gabriele Sonnu 2022-04-14 15:39:38 UTC
Done.