An issue was discovered in janus-gateway (aka Janus WebRTC Server) through 0.10.0. janus_get_codec_from_pt in utils.c has a Buffer Overflow via long value in an SDP Offer packet.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://github.com/meetecho/janus-gateway/blob/v0.10.0/utils.c#L381 | third party advisory patch |
https://github.com/meetecho/janus-gateway/blob/v0.10.0/utils.c#L401 | third party advisory patch |
https://github.com/meetecho/janus-gateway/pull/2229 | third party advisory |