跳转到内容
搜索 Oracle Linux 文档

    浏览当前文档目录

    ELSA 安全公告体系:dnf updateinfo 查 CVE、OVAL 数据、公告与升级的对应

    ELSA(Oracle Linux Security Advisory)是 Oracle Linux 安全体系的公告单位。本页给出一套不依赖订阅的公告查询与跟踪方法:dnf 命令行直查、按严重级别打补丁、OVAL 数据喂给合规扫描器。

    一条 ELSA ≈ RHEL 系的 RHSA:一个公告 id 对应一批安全修复包。查询入口就是 dnf:

    Terminal window
    dnf updateinfo summary # 计数总览
    {/* claim: EX-HUB-349 */}
    dnf updateinfo list available # 逐行:公告 id + 级别 + 包版本
    Updates Information Summary: available
    2 Security notice(s)
    1 Important Security notice(s)
    1 Moderate Security notice(s)
    ELSA-2026-84753 Moderate/Sec. glibc-2.39-145.0.1.el10_2.aarch64
    ELSA-2026-93461 Important/Sec. libblkid-2.40.2-18.0.1.el10_2.20.aarch64
    Terminal window
    dnf updateinfo info ELSA-2026-93461
    ===============================================================================
    util-linux security update
    ===============================================================================
    Update ID: ELSA-2026-93461
    Type: security
    Updated: 2026-11-02 00:00:00
    CVEs: CVE-2026-13595
    : CVE-2026-27456
    : CVE-2026-53612 ... (共 9 条 CVE)
    Description: [2.40.2-18.0.1.el10_2.20]
    : - fix -d -t output regression [OLDIS-51984]
    : [2.40.2-19]
    : - libblkid: fix use-after-free in nested partition probing [CVE-2026-13595]

    公告 id、CVE 清单、每个包的修复说明(changelog 级)三者在一条命令里闭环——合规追溯「这个 CVE 在哪个公告修的、改了什么代码」不需要离开命令行。

    ELSA 之外的补充视角:pkgseek.com/security 按 CVE 号查严重级别与修复版本,聚合了 OSV/NVD 数据,能看到「这个 CVE 在哪些发行版的哪些版本修复」——与 updateinfo 的按公告视角互补。

    Terminal window
    dnf update --security # 全部安全更新
    dnf update --security --severity=Important # Important 以上
    dnf update --advisory=ELSA-2026-93461 # 指定公告

    策略化的取舍见 dnf 安全更新策略篇;公告与版本锁定的组合(打补丁但冻结某包)也在那一页。

    Oracle 在 linux.oracle.com/security/oval/ 按年发布合并 OVAL 文件:

    com.oracle.elsa-2007.xml.bz2
    com.oracle.elsa-2008.xml.bz2
    ...
    com.oracle.elsa-2026.xml.bz2

    OL 10 的 dnf 是 dnf5 兼容层。实测 dnf updateinfo list available --cve CVE-xxxx 直接报 usage 错误——dnf4 时代的参数没有迁移过来。按 CVE 定位的替代路径:

    Terminal window
    dnf updateinfo list available | grep -i <关键词> # 按包名定位
    curl -s https://linux.oracle.com/security/oval/ # 或直接查 OVAL/公告页
    • 已实测:summary/list/info 完整输出、ELSA↔CVE 映射、OVAL 目录结构实抓、dnf5 —cve 缺失确认(E2 容器,aarch64 变体);
    • 未实测:OpenSCAP 消费 OVAL 的完整扫描(见 OpenSCAP 篇);
    • 来源:Oracle Linux Security、OVAL 目录、OL 10 Security Guide。