Skip to content

Review p5‑xml‑parser belonging to pkgsrc‑core after security update introduces new dependencies #12

Description

@sighook

Updating p5‑xml‑parser from 2.47 -> 2.49 fixes multiple CVEs:

  • GH #39: Off‑by‑one heap buffer overflow in st_serial_stack growth check (CVE‑2006‑10003)
  • GH #64: Buffer overflow in parse_stream when filehandle has :utf8 layer (CVE‑2006‑10002)

Reference: https://metacpan.org/release/TODDR/XML-Parser-2.48

However, the new release introduces additional dependencies into core:

  • p5‑class‑inspector
  • p5‑file‑sharedir‑install
  • p5‑file‑sharedir

These packages are required only to support p5‑xml‑parser. At present, p5‑xml‑parser itself seems to be required only by intltool.

Action:

  • In scope of CVE fixes, dependencies are introduced into core.
  • We need to re‑evaluate whether p5‑xml‑parser should remain in pkgsrc‑core.
  • If possible, extract it into pkgsrc‑system to avoid unnecessary expansion of core.

Tracking discussion here to avoid silent growth of pkgsrc‑core.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions