🇰🇷 한글 설명
msgpack5 6.1.0 미만 버전에서 음수 64비트 정수를 디코딩할 때 호출자가 제공한 입력 버퍼의 바이트를 수정하는 문제가 발생합니다. 이로 인해 인코딩된 데이터를 무결성 검사, 로깅 또는 후속 처리에 재사용하는 애플리케이션에서 데이터가 조용히 손상될 수 있습니다.
💡 쉬운 설명
데이터를 읽는 과정에서 원래 데이터의 내용을 실수로 바꿔버리는 버그가 있습니다. 이 때문에 나중에 데이터를 다시 확인하려고 하면 내용이 변해 있어 오류가 생길 수 있습니다.
🇺🇸 원문 (English)
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, decoding a negative signed 64-bit integer modifies the corresponding bytes in the caller-provided input buffer while computing the value. Applications that retain or reuse encoded input for integrity checks, logging, or later processing can observe silently corrupted data, while positive integers and other MessagePack value types are unaffected. This issue is fixed in version 6.1.0.
📍 영향받는 시스템
msgpack5 버전 6.1.0 미만
⚔️ 공격 벡터
음수 64비트 정수가 포함된 악의적인 MessagePack 데이터를 전송하여 입력 버퍼의 무결성을 훼손함
🛡️ 대응 방법
msgpack5 라이브러리를 6.1.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 6.1.0 미만인지 확인하십시오.