wget-1.14-15.el7.1
エラータID: AXSA:2017-2381:03
リリース日:
2017/11/01 Wednesday - 17:31
題名:
wget-1.14-15.el7.1
影響のあるチャネル:
Asianux Server 7 for x86_64
Severity:
High
Description:
以下項目について対処しました。
[Security Fix]
- http.c:skip_short_body 関数は、チャンク化された応答に含まれる
チャンク長を確認しておらず、リモートの攻撃者が、任意の長さパラメー
タで connect.c:fd_read 関数を呼び出す脆弱性があります。
(CVE-2017-13089)
- retr.c:fd_read_body 関数は、チャンク化された応答に含まれる
チャンク長を確認しておらず、リモートの攻撃者が、任意の長さ
パラメータで retr.c:fd_read 関数を呼び出し、確保された
バッファの後にある malloc メタデータを破壊することができる
脆弱性があります。(CVE-2017-13090)
一部CVEの翻訳文はJVNからの引用になります。
http://jvndb.jvn.jp/
解決策:
パッケージをアップデートしてください。
CVE:
CVE-2017-13089
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.
CVE-2017-13090
The retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument. The attacker can corrupt malloc metadata after the allocated buffer.
The retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument. The attacker can corrupt malloc metadata after the allocated buffer.
追加情報:
N/A
ダウンロード:
SRPMS
- wget-1.14-15.el7.1.src.rpm
MD5: faeb03a697bd1c44c1dc458162eada6c
SHA-256: 19bbfcdb31298cd0769952e33dd83ce4d27e4e7916fbcd60f12c4de01e0fc7d6
Size: 1.56 MB
Asianux Server 7 for x86_64
- wget-1.14-15.el7.1.x86_64.rpm
MD5: 04e5234ff8c6a17629a6f60e9c8694c9
SHA-256: 868d084598727f129a19cd3ac3ac689498e79c128db8701f4ea8308d25bc7846
Size: 545.91 kB