openSUSE 安全更新:pcre2 (openSUSE-2016-966)

critical Nessus 插件 ID 92974

简介

远程 openSUSE 主机缺少安全更新。

描述

此 pcre2 更新修复了以下问题:

- pcre2 10.22:

- 之前,如果用 REG_NOSUB 选项调用 POSIX 封装程序函数 regcomp(),其不支持向后引用和子例程调用,现在则提供支持。

- 添加了一个新函数 pcre2_code_copy(),用来复制编译的模式。

- 给 pcre2grep 添加了字符串标注支持。

- 给 pcre2_match() 添加了 PCRE2_NO_JIT 选项。

- 现在如果收到未知的错误编号,pcre2_get_error_message() 函数会返回负错误代码。

- pcre2test 和测试脚本已进行多次更新

- 修复 CVE-2016-3191:(*ACCEPT) 的工作空间因深度嵌套括号而溢出 (boo#971741)

- 更新到新上游版本 10.21

- 改善以 + 或 * 为开头的模式的 JIT 匹配速度。

- 使用 memchr() 寻找解释器内 8 位模式下取消锚定的匹配项目的第一个字符。这可大幅提高速度。

- 10.20 版中断处理 [[:>:]] 和 [[:<:]] 的功能,如果接续的字符是左括号,处理上述项目可引发缓冲区溢出。

- 10.20 版也引入了一个会在处理以下模式时出现的缺陷:
/((?x)(*:0))#(?'/,此问题已修复。

- 系统错误地处理字符串参数包含左方括号的标注(例如 /(?C$[$)(?<]/),并可引发缓冲区溢出。

- 系统错误地编译可符合空字符串(例如 /(?(R))*+/)的占有重复条件群组。

- Unicode 表格已更新到 Unicode 8.0.0。

- 系统错误地处理模式中的空注释 (?#),并可引发缓冲区溢出。

- 修复 JIT 编译器在分析某些模式 /(?:|a|){100}x/ 时发生的无限递归。

- 系统错误地编译某些含有涉及 [: 和 \\ 的字符类的模式,且可造成读取未初始化内存或不正确的错误诊断。
例如:/[[:\\](?<[::]/ 和 /[[:\\](?'abc')[a:]。

- 系统未诊断出含有字符串参数的标注缺少了一个右括号,这可能会导致缓冲区溢出。

- 如果 (?R 后接着 - 或 +,会发生错误行为而非进行诊断。

- 修复了 xclass 中 \p{Any} 未读取当前字符时发生的一个问题。

- 大约还有 80 个补丁,详情请参阅 libpcre2-8-0 程序包随附的变更日志。

解决方案

更新受影响的 pcre2 程序包。

另见

https://bugzilla.opensuse.org/show_bug.cgi?id=971741

插件详情

严重性: Critical

ID: 92974

文件名: openSUSE-2016-966.nasl

版本: 2.5

类型: local

代理: unix

发布时间: 2016/8/16

最近更新时间: 2021/1/19

支持的传感器: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 7.5

矢量: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

风险因素: Critical

基本分数: 9.8

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

漏洞信息

CPE: p-cpe:/a:novell:opensuse:libpcre2-16-0, p-cpe:/a:novell:opensuse:libpcre2-16-0-32bit, p-cpe:/a:novell:opensuse:libpcre2-16-0-debuginfo, p-cpe:/a:novell:opensuse:libpcre2-16-0-debuginfo-32bit, p-cpe:/a:novell:opensuse:libpcre2-32-0, p-cpe:/a:novell:opensuse:libpcre2-32-0-32bit, p-cpe:/a:novell:opensuse:libpcre2-32-0-debuginfo, p-cpe:/a:novell:opensuse:libpcre2-32-0-debuginfo-32bit, p-cpe:/a:novell:opensuse:libpcre2-8-0, p-cpe:/a:novell:opensuse:libpcre2-8-0-32bit, p-cpe:/a:novell:opensuse:libpcre2-8-0-debuginfo, p-cpe:/a:novell:opensuse:libpcre2-8-0-debuginfo-32bit, p-cpe:/a:novell:opensuse:libpcre2-posix1, p-cpe:/a:novell:opensuse:libpcre2-posix1-32bit, p-cpe:/a:novell:opensuse:libpcre2-posix1-debuginfo, p-cpe:/a:novell:opensuse:libpcre2-posix1-debuginfo-32bit, p-cpe:/a:novell:opensuse:pcre2-debugsource, p-cpe:/a:novell:opensuse:pcre2-devel, p-cpe:/a:novell:opensuse:pcre2-devel-static, p-cpe:/a:novell:opensuse:pcre2-tools, p-cpe:/a:novell:opensuse:pcre2-tools-debuginfo, cpe:/o:novell:opensuse:42.1

必需的 KB 项: Host/local_checks_enabled, Host/SuSE/release, Host/SuSE/rpm-list, Host/cpu

补丁发布日期: 2016/8/11

漏洞发布日期: 2016/3/17

参考资料信息

CVE: CVE-2016-3191