CVE-2013-7458
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history,...
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
3.3
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
CVE-2013-7458- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
CVE-2013-7458- Updated
- 2026-11-02
EUVDEUVD-2013-7218 No score
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
EUVD-2013-7218- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gfx7-7mf7-vcxx
3.3
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history,...
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
GHSA-gfx7-7mf7-vcxx- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSV
3.3
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
CVE-2013-7458- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-7458
3.3
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
DEBIAN-CVE-2013-7458- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2013-7458
3.3
linenoise, as used in Redis before 3.2.3, uses world-readable permissions for .rediscli_history, which allows local users to obtain sensitive information by reading the file.
- Record
UBUNTU-CVE-2013-7458- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2016-0295 No score
Updated redis packages fix security vulnerability
It was discovered that redis did not properly protect redis-cli history files; they were created by default with world-readable permissions (CVE-2013-7458).
- Record
MGASA-2016-0295- Updated
- 2026-11-02
OSVopenSUSE-SU-2016:1980-1 No score
Security update for redis
This update for redis fixes the following issues:
- CVE-2013-7458: unsafe permissions of command line history (boo#991250)
- Record
openSUSE-SU-2016:1980-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2016:1981-1 No score
Security update for redis
This update for redis fixes the following issues:
- CVE-2013-7458: unsafe permissions of command line history (boo#991250)
- Record
openSUSE-SU-2016:1981-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10552-1 No score
redis-3.2.4-1.1 on GA media
These are all security issues fixed in the redis-3.2.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10552-1- Updated
- 2026-11-02
OSVSUSE-OU-2020:3291-1 No score
Optional update for python-redis and redis
This optional update for python-redis and redis provides the following fixes
python-redis:
-
Update to version to 3.4.1 (jsc#ECO-2417)
- Move the username argument in the Redis and Connection classes to the end of the argument list. This helps those poor souls that specify all their connection options as non-keyword arguments.
- Prior to ACL support, redis-py ignored the username component of Connection URLs. With ACL support, usernames are no longer ignored and are used to authenticate against an ACL rule. Some cloud vendors with managed Redis instances (like Heroku) provide connection URLs with a username component pre-ACL that is not intended to be used. Sending that username to Redis servers < 6.0.0 results in an error. Attempt to detect this condition and retry the AUTH command with only the password such that authentication continues to work for these users.
- Removed the eq hooks to Redis and ConnectionPool that were added in 3.4.0. This ended up being a bad idea as two separate connection pools be considered equal yet manage a completely separate set of connections.
- Allow empty pipelines to be executed if there are WATCHed keys. This is a convenient way to test if any of the watched keys changed without actually running any other commands.
- Removed support for end of life Python 3.4.
- Added support for all ACL commands in Redis 6.
- Pipeline instances now always evaluate to True. Prior to this change, pipeline instances relied on len for boolean evaluation which meant that pipelines with no commands on the stack would be considered False.
- Client instances and Connection pools now support a 'client_name' argument. If supplied, all connections created will call CLIENT SETNAME as soon as the connection is opened.
- Added the 'ssl_check_hostname' argument to specify whether SSL connections should require the server hostname to match the hostname specified in the SSL cert. By default 'ssl_check_hostname' is False for backwards compatibility.
- Added support for the TYPE argument to SCAN.
- Better thread and fork safety in ConnectionPool and BlockingConnectionPool. Added better locking to synchronize critical sections rather than relying on CPython-specific implementation details relating to atomic operations. Adjusted how the pools identify and deal with a fork. Added a ChildDeadlockedError exception that is raised by child processes in the very unlikely chance that a deadlock is encountered.
- Further fix for the SSLError -> TimeoutError mapping to work on obscure releases of Python 2.7.
- Fixed a potential error handling bug for the SSLError -> TimeoutError mapping introduced in 3.3.9.
- Mapped Python 2.7 SSLError to TimeoutError where appropriate. Timeouts should now consistently raise TimeoutErrors on Python 2.7 for both unsecured and secured connections.
- Fixed MONITOR parsing to properly parse IPv6 client addresses
- Fixed a regression introduced in 3.3.0
- Resolve a race condition with the PubSubWorkerThread.
- Response callbacks are now case insensitive.
- Added support for hiredis-py 1.0.0 encoding error support.
- Add READONLY and READWRITE commands.
- Added extensive health checks that keep the connections lively.
- Many more changes, see upstream changelog.
- Add missing build dependency setuptools
- Fix SentinelConnectionPool to work in multiprocess/forked environments
-
Update to 3.2.0 (bsc#1131555)
- Added support for
select.pollto test whether data can be read on a socket. This should allow for significantly more connections to be used with pubsub. - Attempt to guarentee that the ConnectionPool hands out healthy connections. Healthy connections are those that have an established socket connection to the Redis server, are ready to accept a command and have no data available to read.
- Use the socket.IPPROTO_TCP…
- Added support for
- Record
SUSE-OU-2020:3291-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisDebian:12 |
before 2:3.2.1-4 | 2:3.2.1-4 |
redisDebian:13 |
before 2:3.2.1-4 | 2:3.2.1-4 |
redisDebian:14 |
before 2:3.2.1-4 | 2:3.2.1-4 |
redisDebian:7 |
before 2:2.4.14-1+deb7u1, plus listed versions 2:2.4.14-1 |
2:2.4.14-1+deb7u1 |
redisDebian:8 |
before 2:2.8.17-1+deb8u5, plus listed versions 2:2.8.17-12:2.8.17-1+deb8u12:2.8.17-1+deb8u22:2.8.17-1+deb8u32:2.8.17-1+deb8u4 |
2:2.8.17-1+deb8u5 |
redisMageia:5 |
before 2.8.13-4.2.mga5 | 2.8.13-4.2.mga5 |
redisSUSE:Linux Enterprise Module for Server Applications 15 SP2 |
before 6.0.8-1.3.1 | 6.0.8-1.3.1 |
redisUbuntu:14.04:LTS |
before 2:2.8.4-2ubuntu0.2, plus listed versions 2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2 |
2:2.8.4-2ubuntu0.2 |
redisUbuntu:16.04:LTS |
before 2:3.0.6-1ubuntu0.2, plus listed versions 2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-42:3.0.6-1 |
2:3.0.6-1ubuntu0.2 |
redisSUSE:Package Hub 12 |
before 3.0.7-6.1 | 3.0.7-6.1 |
redisopenSUSE:Tumbleweed |
before 3.2.4-1.1 | 3.2.4-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-7458 is a low vulnerability (CVSS 3.3) in Redislabs Redis, published July 30, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.48%, the 41st percentile. Fixed in redis 2:3.2.1-4.
References
github.com/antirez/redis/pull/3322
lists.opensuse.org/opensuse-updates/2016-08/msg00030.html
github.com/antirez/redis/pull/1418
github.com/antirez/redis/blob/3.2/00-RELEASENOTES
lists.opensuse.org/opensuse-updates/2016-08/msg00029.html
bugs.debian.org/cgi-bin/bugreport.cgi?bug=832460
Show 29 moreShow less
github.com/antirez/linenoise/issues/121
github.com/antirez/linenoise/pull/122
debian.org/security/2016/dsa-3634
github.com/antirez/redis/issues/3284
nvd.nist.gov/vuln/detail/CVE-2013-7458
github.com/advisories/GHSA-gfx7-7mf7-vcxx
security-tracker.debian.org/tracker/CVE-2013-7458
advisories.mageia.org/MGASA-2016-0295.html
bugs.mageia.org/show_bug.cgi?id=19158
suse.com/support/update/announcement/-2020-3291/suse-ou-20203291-1
bugzilla.suse.com/1002351
bugzilla.suse.com/1047218
bugzilla.suse.com/1061967
bugzilla.suse.com/1064980
bugzilla.suse.com/1097430
bugzilla.suse.com/1131555
bugzilla.suse.com/798455
bugzilla.suse.com/835815
bugzilla.suse.com/991250
suse.com/security/cve/CVE-2013-7458
suse.com/security/cve/CVE-2015-8080
suse.com/security/cve/CVE-2016-10517
suse.com/security/cve/CVE-2016-8339
suse.com/security/cve/CVE-2017-15047
suse.com/security/cve/CVE-2018-11218
suse.com/security/cve/CVE-2018-11219
ubuntu.com/security/CVE-2013-7458
openwall.com/lists/oss-security/2016/07/28/1
cve.org/CVERecord?id=CVE-2013-7458
Left out here: the rest of 1 source description. The JSON record has them.