diff options
| author | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-24 15:02:24 +0200 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-08-27 14:14:57 +0200 |
| commit | bb7c4cff2086fffddf5cb20e40cfe4979ba1a7e6 (patch) | |
| tree | e80e7a1a46bf4ba3d19d463245075205599447df /package/network/services/dropbear/patches/100-pubkey_path.patch | |
| parent | 8a72a868fd8000b826d5337fc413a51b01f39b5d (diff) | |
| download | mtk-20170518-bb7c4cff2086fffddf5cb20e40cfe4979ba1a7e6.zip mtk-20170518-bb7c4cff2086fffddf5cb20e40cfe4979ba1a7e6.tar.gz mtk-20170518-bb7c4cff2086fffddf5cb20e40cfe4979ba1a7e6.tar.bz2 | |
dropbear: backport upstream fix for CVE-2018-15599
CVE description :
The recv_msg_userauth_request function in svr-auth.c in Dropbear through
2018.76 is prone to a user enumeration vulnerability because username
validity affects how fields in SSH_MSG_USERAUTH messages are handled,
a similar issue to CVE-2018-15473 in an unrelated codebase.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/dropbear/patches/100-pubkey_path.patch')
| -rw-r--r-- | package/network/services/dropbear/patches/100-pubkey_path.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/patches/100-pubkey_path.patch b/package/network/services/dropbear/patches/100-pubkey_path.patch index 401c7e1..274d3af 100644 --- a/package/network/services/dropbear/patches/100-pubkey_path.patch +++ b/package/network/services/dropbear/patches/100-pubkey_path.patch @@ -1,6 +1,6 @@ --- a/svr-authpubkey.c +++ b/svr-authpubkey.c -@@ -220,14 +220,20 @@ static int checkpubkey(char* algo, unsig +@@ -229,14 +229,20 @@ static int checkpubkey(char* algo, unsig goto out; } @@ -29,7 +29,7 @@ /* open the file as the authenticating user. */ origuid = getuid(); -@@ -396,26 +402,35 @@ static int checkpubkeyperms() { +@@ -405,26 +411,35 @@ static int checkpubkeyperms() { goto out; } |
