安全公告/【CVE-2019-12525】

基本信息

漏洞名称:
受影响操作系统:Asianux
危险等级:超危
影响源码包:squid
CVSS评分:9.8
发现日期:2023-08-02
修复版本:4.6-1+deb10u1

漏洞描述

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.

修复方式

sudo apt update && sudo apt dist-upgrade

漏洞判定

执行命令apt policy PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复

补丁

参考

https://security-tracker.debian.org/tracker/CVE-2019-12525
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12525
https://nvd.nist.gov/vuln/detail/CVE-2019-12525