The _rl_tropen function in util.c in GNU readline before 6.3 patch 3 allows local users to create or overwrite arbitrary files via a symlink attack on a /var/tmp/rltrace.[PID] file.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mageia | Mageia | 3.0 (including) | 3.0 (including) |
Mageia | Mageia | 4.0 (including) | 4.0 (including) |
Readline6 | Ubuntu | esm-infra-legacy/trusty | * |
Readline6 | Ubuntu | lucid | * |
Readline6 | Ubuntu | precise | * |
Readline6 | Ubuntu | quantal | * |
Readline6 | Ubuntu | saucy | * |
Readline6 | Ubuntu | trusty | * |
Readline6 | Ubuntu | trusty/esm | * |
Readline6 | Ubuntu | upstream | * |
Readline6 | Ubuntu | utopic | * |
Readline6 | Ubuntu | vivid | * |