메모리 안전성Memory safety
CWE-125 경계 밖 읽기Out-of-bounds Read
버퍼 경계를 넘어 데이터를 읽는 결함. 정보 노출이나 크래시로 이어진다.Data is read outside buffer bounds, leading to info leaks or crashes.
근본 원인 패턴Root-cause pattern
파서가 입력에 적힌 길이를 믿고 읽는다. 메모리 레이아웃 노출로 ASLR 우회의 재료가 되기도 한다.A parser trusts a length from the input. Leaked memory often helps bypass ASLR.
전형적인 패치Typical fix
남은 입력 길이와 선언된 길이를 비교하는 검사 추가.Compare the declared length with the remaining input length.
0 편posts
아직 이 클래스의 글이 없습니다. 아래 패턴 요약으로 먼저 학습하세요.No posts in this class yet. Start with the pattern summary below.