IntegerAlex / IntegerAlex/syncro

(CXX-S1004) While processing the buffer using `printf`/`scanf`, not using any width for the format specifier `%s` is vulnerable to buffer overflow

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug good first issue help wanted
主要言語
C
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

## Description
Using I/O operations such as `printf` and `scanf` without setting width limits for format strings can allow for buffer overflow when reading from a stdin pipe or writing to a stdout pipe.

## Occurrences
There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → [app.deepsource.com/gh/IntegerAlex/syncro/issue/CXX-S1004/occurrences/](https://app.deepsource.com/gh/IntegerAlex/syncro/issue/CXX-S1004/occurrences/)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

リンクされた DeepSource CXX-S1004 の発生箇所を開き、影響を受けるソースファイルと `%s` 入力操作を特定します。関係するバッファーを追跡して適切な幅の上限を判断し、影響を受ける入力経路でサイズ超過の値が許可されなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c
領域
security
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。