Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

165
Vistas
How dangling reference can compromise security?

https://stackoverflow.com/a/69322771/12262729

This post suggests that dangling reference in code run by browser can be entry point to bypass system's security with malicious code - how is it possible?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

The danger is similar to buffer overflows.

The memory that a dangling reference points to could be used in a new allocation. If the program then writes through the dangling pointer, it will write unintended values to that memory.

If that memory happens to be used to hold security-related information (such as a username) and an exploit is able to get information it wants to be written there, it can change the result of the security check.

That's quite a few "if"s, so that kind of exploit is pretty unlikely. More likely is just causing the program to crash. If a hacker can cause an important program to crash, that's considered a security problem.

about 4 years ago · Juan Pablo Isaza Denunciar

0

The post you point to explains why manual memory management is NOT available in JavaScript. IF it was, that would lead to possible dangling references and the consequent security holes. Since this hypothetical scenario is not a reality, JavaScript code cannot suffer from dangling references.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda