id: PYSEC-2023-312 details: 'Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifically, a SET command). NOTE: this was fixed for Redis 6.2.x and 7.x in 2021. Versions before 6.2 were not intended to have safety guarantees related to this.' aliases: - CVE-2021-31294 modified: '2025-06-02T11:48:06.372423Z' published: '2023-07-15T23:15:09Z' withdrawn: '2025-06-09T16:52:30Z' references: - type: ADVISORY url: https://security.netapp.com/advisory/ntap-20230814-0007/ - type: EVIDENCE url: https://github.com/redis/redis/issues/8712 - type: FIX url: https://github.com/redis/redis/commit/46f4ebbe842620f0976a36741a72482620aa4b48 - type: FIX url: https://github.com/redis/redis/commit/6cbea7d29b5285692843bc1c351abba1a7ef326f - type: REPORT url: https://github.com/redis/redis/issues/8712 affected: - package: name: redis ecosystem: PyPI purl: pkg:pypi/redis ranges: - type: GIT repo: https://github.com/redis/redis events: - introduced: '0' - fixed: 46f4ebbe842620f0976a36741a72482620aa4b48 - fixed: 6cbea7d29b5285692843bc1c351abba1a7ef326f - fixed: 46f4ebbe842620f0976a36741a72482620aa4b48 - fixed: 6cbea7d29b5285692843bc1c351abba1a7ef326f - type: ECOSYSTEM events: - introduced: '0' - fixed: 6.2.0 versions: - 0.6.0 - 0.6.1 - '1.34' - 1.34.1 - 2.0.0 - 2.10.0 - 2.10.1 - 2.10.2 - 2.10.3 - 2.10.5 - 2.10.6 - 2.2.0 - 2.2.2 - 2.2.4 - 2.4.0 - 2.4.1 - 2.4.10 - 2.4.11 - 2.4.12 - 2.4.13 - 2.4.2 - 2.4.3 - 2.4.4 - 2.4.5 - 2.4.6 - 2.4.7 - 2.4.8 - 2.4.9 - 2.6.0 - 2.6.1 - 2.6.2 - 2.7.0 - 2.7.1 - 2.7.2 - 2.7.3 - 2.7.4 - 2.7.5 - 2.7.6 - 2.8.0 - 2.9.0 - 2.9.1 - 3.0.0 - 3.0.0.post1 - 3.0.1 - 3.1.0 - 3.2.0 - 3.2.1 - 3.3.0 - 3.3.1 - 3.3.10 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