Fallos del tipo CWE-617

461 resultados

Asserção acessível por entrada não confiável

Código de produção contém asserções (assert statements) que podem ser disparadas por dados fornecidos pelo usuário ou atacante, causando falha abrupta da aplicação. Diferente de validação, asserções são mecanismos de debug que não deveriam controlar o fluxo normal — quando acionadas, encerram o programa, provocando negação de serviço.

Ejemplo

Um servidor web recebe um parâmetro `user_id` e executa `assert user_id > 0` antes de consultar o banco. Um atacante envia `user_id=0` ou negativo, a asserção falha e derruba o servidor. O código assume que validação já ocorreu, mas ela não existe.

Cómo mitigar

Substitua asserções por validação explícita com tratamento de erro apropriado (throw exception, retornar código de erro). Remova ou desative asserções em builds de produção. Use asserções apenas para condições internas que nunca deveriam ocorrer, nunca para entrada de usuário.

CVE-2023-53247MEDIUMbtrfs: set_page_extent_mapped after read_folio in btrfs_cont_expandEPSS 0.1%CVE-2023-53323MEDIUMext2/dax: Fix ext2_setsize when len is page alignedEPSS 0.1%CVE-2026-63388HIGHLibevent: Heap out-of-bounds write in bufferevent_socket_set_conn_address_ reachable via AF_UNIX acceptEPSS 0.1%CVE-2025-30034MEDIUMA vulnerability has been identified in SIMATIC RTLS Locating Manager (All versions < V3.3). Affected devices do not properly validate input EPSS 0.1%CVE-2026-90611MEDIUMGPAC MP4Box loader_xmt.c xmt_parse_element assertionEPSS 0.1%CVE-2026-90683MEDIUMGPAC MP4Box base_scenegraph.c gf_node_unregister assertionEPSS 0.1%CVE-2026-90613MEDIUMGPAC MP4Box stbl_read.c stbl_GetSampleInfos assertionEPSS 0.1%CVE-2026-90612MEDIUMGPAC MP4Box scene_dump.c gf_sm_dump_command_list assertionEPSS 0.1%CVE-2024-20139MEDIUMIn Bluetooth firmware, there is a possible firmware asssert due to improper handling of exceptional conditions. This could lead to local denEPSS 0.1%CVE-2025-47370MEDIUMReachable Assertion in BT ControllerEPSS 0.1%CVE-2022-25675MEDIUMDenial of service due to reachable assertion in modem while processing filter rule from application client in Snapdragon Compute, SnapdragonEPSS 0.1%CVE-2026-17513MEDIUMggml-org whisper.cpp ggml.c ggml_ftype_to_ggml_type assertionEPSS 0.1%CVE-2026-18581MEDIUMggml-org llama.cpp Jinja Minja Template parser.cpp assertionEPSS 0.1%CVE-2026-90685LOWGPAC MP4Box lsr_dec.c lsr_exec_command_list assertionEPSS 0.1%CVE-2026-90684LOWGPAC MP4Box base_scenegraph.c gf_node_get_field_count assertionEPSS 0.1%CVE-2025-47384MEDIUMReachable Assertion in FWEPSS 0.1%CVE-2025-47371MEDIUMReachable Assertion in ModemEPSS 0.1%CVE-2026-17574MEDIUMNULL Pointer Dereference in HDF5 via Invalid Variable-Length Datatype Type TagEPSS 0.1%CVE-2026-31911MEDIUMabort() in libpcap before 1.10.7 on an invalid BPF opcodeEPSS 0.1%CVE-2024-20152MEDIUMIn wlan STA driver, there is a possible reachable assertion due to improper exception handling. This could lead to local denial of service iEPSS 0.1%