cookie-rs
cookie-rs кітапханасы, Rust үшін HTTP cookie өңдеу кітапханасы, exec() шақырмай fork() орындайтын Unix-тәрізді процестерде жеке cookie-лер үшін шифрлау nonce мәндерін қайта пайдалануы мүмкін. Жүйеге кірмей-ақ, қашықтан, nonce ортақ екі түрлі fork процесінен екі cookie алған шабуылдаушы ашық мәтін байланыстарын қалпына келтіріп, қолданба қабылдайтын жеке cookie-лерді қолдан жасай алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзетілген нұсқалар: 0.18.30.12.0
| cookie-rs | бастап 0.14.0 → түзетілді 0.18.3 бастап 0.11.3 → түзетілді 0.12.0 |
| cookiecrates.io | бастап 0.14.0 → түзетілді 0.18.3 |
| cookiecrates.io | бастап 0.11.3 → түзетілді 0.12.0 |
| cookiecrates.io | бастап 0.11.3 → түзетілді 0.12.0 бастап 0.14.0 → түзетілді 0.18.3 |
Түпнұсқа тақырып: cookie-rs forgery in private cookies via nonce reuse after fork
cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJar generates AES-256-GCM nonces with rand::thread_rng(), whose buffered state can be duplicated when a Unix-like process calls fork() without exec(). The forking thread must have used the thread-local generator before the fork, and two resulting processes must add private cookies on that same thread with a shared Key; applications that do not fork, create cookies only on post-fork threads, use SignedJar, or run on Windows are not affected. At most the first 21 private cookies added on that thread in each resulting process can reuse nonces before the generator reseeds and the processes diverge. An attacker must obtain two cookies from different resulting processes that share a nonce to recover plaintext relationships and forge private cookies accepted by the application. This issue is fixed in version 0.18.3.