Am I affected?

type your igniter version to check

Description

Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in ash-project igniter allows a malicious package publisher to forge the mix igniter.install confirmation prompt.

mix igniter.install prints a confirmation panel (an anti-typosquatting safeguard) listing a package's hex metadata before adding it. The panel builder in Igniter.Project.Deps wrote publisher-controlled fields (meta.description, owner usernames, requirement names, version) to the terminal with only newlines stripped. A malicious or typosquatted package can embed ANSI terminal escape sequences (cursor movement, line erase, carriage returns) in its metadata to overwrite the panel, forging trusted author names and download counts while concealing the real ones, so a developer relying on the panel to vet the package is deceived into approving a malicious dependency.

This issue affects igniter: from 0.8.1 before 0.8.4.

Weaknesses & attack patterns

Weakness

CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences in catalog → MITRE ↗

Attack patterns

CAPEC-93 · Log Injection-Tampering-Forging MITRE ↗

Affected — Hex / igniter Hex.pm ↗ Repository ↗

0.8.1 < 0.8.4 affected
every other version: unaffected
cpe cpe:2.3:a:ash-project:igniter:*:*:*:*:*:*:*:*
modules · source files · routines
modules 'Elixir.Igniter.Project.Deps'
source files lib/igniter/project/deps.ex
routines 'Elixir.Igniter.Project.Deps':determine_dep_type_and_version!/2

Affected — GitHub / ash-project/igniter Repository ↗

d26d9b3 < d492b1a affected
every other version: unaffected
cpe cpe:2.3:a:ash-project:igniter:*:*:*:*:*:*:*:*
modules · source files · routines
modules 'Elixir.Igniter.Project.Deps'
source files lib/igniter/project/deps.ex
routines 'Elixir.Igniter.Project.Deps':determine_dep_type_and_version!/2

Configurations

Reachable only when a developer runs mix igniter.install against an untrusted or misspelled package name in a terminal emulator that interprets ANSI escape sequences.

References

Credits

Peter Ullrich Finder Reporter
Zach Daniel / Ash Project Remediation developer
Jonatan Männchen / EEF Coordinator

CVSS breakdown

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
« All CVEs