AOSC-Dev oma
oma-topic: name Field in Topic Manifests (topic.json) May Allow CRLF Injection
oma is a package manager for AOSC OS. Prior to 1.25.2, oma-topics is responsible for fetching metadata for testing repositories (topics) named "Topic Manifests" ({mirror}/debs/manifest/topics.json) from remote repository servers, registering them as APT source entries. However, the name field in said metadata were not checked for transliteration. In this case, a malicious party may supply a malformed Topic Manifest, which may cause malicious APT source entries to be added to /etc/apt/sources.list.d/atm.list as oma-topics finishes fetching and registering metadata. This vulnerability is fixed in 1.25.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.25.1
Fixed in 1.25.1
Mitigation
Upgrade oma to 1.25.1 or later.
References
- Vendor advisory github.com/AOSC-Dev/oma/security/advisories/GH…
- Patch github.com/AOSC-Dev/oma/pull/733
- Patch github.com/AOSC-Dev/oma/commit/b361c0f219bbf91…
1 more
- Release notes github.com/AOSC-Dev/oma/releases/tag/v1.25.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.