低危 libpq忽略PGREQUIRESSL环境变量

CVE编号

CVE-2017-7485

利用情况

暂无

补丁情况

官方补丁

披露时间

2017-05-13
漏洞描述
在9.3.17之前的PostgreSQL 9.3.x,9.4.12之前的9.4.x,9.5.7之前的9.5.x和9.6.3之前的9.6.x,发现PGREQUIRESSL环境变量不再强制执行SSL / TLS连接到PostgreSQL服务器。一个活跃的Man-in-the-Middle攻击者可以使用此漏洞从客户端和服务器之间的连接中剥离SSL / TLS保护。

解决建议
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
https://www.postgresql.org/about/news/1746/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 postgresql postgresql 9.3 -
运行在以下环境
应用 postgresql postgresql 9.3.1 -
运行在以下环境
应用 postgresql postgresql 9.3.10 -
运行在以下环境
应用 postgresql postgresql 9.3.11 -
运行在以下环境
应用 postgresql postgresql 9.3.12 -
运行在以下环境
应用 postgresql postgresql 9.3.13 -
运行在以下环境
应用 postgresql postgresql 9.3.14 -
运行在以下环境
应用 postgresql postgresql 9.3.15 -
运行在以下环境
应用 postgresql postgresql 9.3.16 -
运行在以下环境
应用 postgresql postgresql 9.3.2 -
运行在以下环境
应用 postgresql postgresql 9.3.3 -
运行在以下环境
应用 postgresql postgresql 9.3.4 -
运行在以下环境
应用 postgresql postgresql 9.3.5 -
运行在以下环境
应用 postgresql postgresql 9.3.6 -
运行在以下环境
应用 postgresql postgresql 9.3.7 -
运行在以下环境
应用 postgresql postgresql 9.3.8 -
运行在以下环境
应用 postgresql postgresql 9.3.9 -
运行在以下环境
应用 postgresql postgresql 9.4 -
运行在以下环境
应用 postgresql postgresql 9.4.1 -
运行在以下环境
应用 postgresql postgresql 9.4.10 -
运行在以下环境
应用 postgresql postgresql 9.4.11 -
运行在以下环境
应用 postgresql postgresql 9.4.2 -
运行在以下环境
应用 postgresql postgresql 9.4.3 -
运行在以下环境
应用 postgresql postgresql 9.4.4 -
运行在以下环境
应用 postgresql postgresql 9.4.5 -
运行在以下环境
应用 postgresql postgresql 9.4.6 -
运行在以下环境
应用 postgresql postgresql 9.4.7 -
运行在以下环境
应用 postgresql postgresql 9.4.8 -
运行在以下环境
应用 postgresql postgresql 9.4.9 -
运行在以下环境
应用 postgresql postgresql 9.5 -
运行在以下环境
应用 postgresql postgresql 9.5.1 -
运行在以下环境
应用 postgresql postgresql 9.5.2 -
运行在以下环境
应用 postgresql postgresql 9.5.3 -
运行在以下环境
应用 postgresql postgresql 9.5.4 -
运行在以下环境
应用 postgresql postgresql 9.5.5 -
运行在以下环境
应用 postgresql postgresql 9.5.6 -
运行在以下环境
应用 postgresql postgresql 9.6 -
运行在以下环境
应用 postgresql postgresql 9.6.1 -
运行在以下环境
应用 postgresql postgresql 9.6.2 -
运行在以下环境
系统 alpine_3.10 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.11 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.12 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.13 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.14 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.15 postgresql14 * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.16 postgresql14 * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.17 postgresql14 * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.18 postgresql14 * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.3 postgresql * Up to
(excluding)
9.4.12-r0
运行在以下环境
系统 alpine_3.4 postgresql * Up to
(excluding)
9.5.7-r0
运行在以下环境
系统 alpine_3.5 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.6 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.7 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.8 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 alpine_3.9 postgresql * Up to
(excluding)
9.6.3-r0
运行在以下环境
系统 amazon_AMI postgresql93 * Up to
(excluding)
9.3.17-1.63.amzn1
运行在以下环境
系统 debian DPKG * Up to
(excluding)
9.6.3-1
运行在以下环境
系统 fedora_26 mingw64-postgresql * Up to
(excluding)
9.6.3-1.fc26
运行在以下环境
系统 opensuse_Leap_42.2 postgresql93-devel * Up to
(excluding)
9.4.12-9.6.1
运行在以下环境
系统 suse_11_SP4 postgresql94-contrib * Up to
(excluding)
9.4.12-0.22.3
运行在以下环境
系统 suse_12 libecpg6 * Up to
(excluding)
9.6.3-2
运行在以下环境
系统 suse_12_SP2 postgresql94 * Up to
(excluding)
9.4.12-20.1
运行在以下环境
系统 ubuntu_14.04 postgresql-9.3 * Up to
(excluding)
9.3.17-0ubuntu0.14.04
运行在以下环境
系统 ubuntu_14.04.6_lts postgresql-9.3 * Up to
(excluding)
9.3.17-0ubuntu0.14.04
运行在以下环境
系统 ubuntu_16.04 postgresql-9.5 * Up to
(excluding)
9.5.7-0ubuntu0.16.04
运行在以下环境
系统 ubuntu_16.04.7_lts postgresql-9.5 * Up to
(excluding)
9.5.7-0ubuntu0.16.04
阿里云评分
2.7
  • 攻击路径
    远程
  • 攻击复杂度
    困难
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-311 敏感数据加密缺失
阿里云安全产品覆盖情况