GHSA-qpmc-wprv-x746

Suggest an improvement
Source
https://github.com/advisories/GHSA-qpmc-wprv-x746
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-qpmc-wprv-x746/GHSA-qpmc-wprv-x746.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qpmc-wprv-x746
Aliases
Published
2022-04-12T21:31:26Z
Modified
2025-12-10T00:31:54.100217Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Inline DTD allows XML bomb attack
Details

The SweetXml (aka sweet_xml) package through 0.6.6 for Erlang and Elixir allows attackers to cause a denial of service (resource consumption) via an XML entity expansion attack with an inline DTD.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2022-04-12T21:31:26Z",
    "cwe_ids": [
        "CWE-611",
        "CWE-776"
    ],
    "severity": "HIGH",
    "nvd_published_at": null
}
References

Affected packages

Hex / sweet_xml

Package

Name
sweet_xml
Purl
pkg:hex/sweet_xml

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.0

Affected versions

0.*
0.1.0
0.1.1
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.6.3
0.6.4
0.6.5
0.6.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-qpmc-wprv-x746/GHSA-qpmc-wprv-x746.json"