CVE-2026-82760
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
Luka w zabezpieczeniach związana z nieefektywną złożonością algorytmiczną w alembicznym AshAuthentication umożliwia nieuwierzytelnionemu atakującemu wyczerpanie procesora i pamięci za pośrednictwem zbyt dużego segmentu base62 w przesłanym kluczu API.
AshAuthentication.Base.decode62/1 w lib/ash_authentication/base.ex dzieli swój argument na jeden plik binarny na znak i składa go za pomocą charval62/2, który ponownie oblicza Integer.pow(62, indeks) w każdej pozycji, zamiast kumulować metodą Hornera, więc koszt rośnie mniej więcej sześciennie w długości wejściowej. bindecode62/1 w tym samym module jest kwadratowy poprzez Integer.undigits/2 i Integer.digits/2. Żadna z funkcji nie ogranicza rozmiaru bajtu/1, a AshAuthentication.Strategy.ApiKey.SignInPreparation przekazuje oddzielone podkreśleniem segmenty przesłanego klucza bezpośrednio do obu, przed jakimkolwiek wyszukiwaniem klucza i bez wcześniejszego uwierzytelniania. Otaczające klauzule ratunkowe wychwytują wyjątki, a nie wyczerpanie procesora lub pamięci.
Ten problem dotyczy ash_authentication: od 4.8.0 przed 4.15.0 i od 5.0.0-rc.0 przed 5.0.0-rc.14.
>_ Słabości (CWE)
>_ Referencje
- https://cna.erlef.org/cves/CVE-2026-82760.html
- https://github.com/team-alembic/ash_authentication/commit/d5a5d4cb5cc17fbd6e2a120a6111b47accad4b8e
- https://github.com/team-alembic/ash_authentication/commit/dfb19c897853686ab481c5e773f7a1a0c74dea04
- https://github.com/team-alembic/ash_authentication/commit/f3a53f480088419788d5c3934af3131fa9066773
- https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-q876-xr24-2mcx
- https://osv.dev/vulnerability/EEF-CVE-2026-82760
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org