[5.x]: "A critical update is available" still shows after updating Formie 3 to latest security release

オープン
#21,279 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
backend, devtools

調査の方向性

Start by tracing how Craft CMS identifies and displays critical plugin updates, then inspect the update metadata for Formie versions 3.3.0 and 4.2.1 against the linked release notes and security advisories. Reproduce with Craft 5.12.4 and Formie 3.3.0; done when the critical banner no longer flags Formie 3 after that security fix while still reflecting applicable updates.

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

説明

bug repo:cms
What happened?
Description

After updating Formie to version 3.3.0, Craft CMS still displays the "A critical update is available" message. The Formie 4.2.0 update is marked as critical. According to the Formie release logs, version 3.3.0 also addresses the CVE fixed in 4.2.1.

Steps to reproduce
  1. Install Formie 3.1 plugin
  2. Open CMS
  3. "A critical update is available" banner visible
  4. Formie 3.3.0 is listed as a critical update
  5. Install Formie 3.3.0
  6. "A critical update is available" banner still visible
  7. Formie 4.2.1 is listed as a critical update
Expected behavior

After installing Formie 3.3.0, the critical update message should disappear, as Formie 3.3.0 addresses the CVE

Actual behavior

Formie 4.2.1 is listed as a critical update

See https://github.com/verbb/formie/releases/tag/3.3.0
And https://github.com/verbb/formie/security/advisories/GHSA-qrpc-wc6f-w23f

The second CVE listed in the Formie 4.2.1 release notes states that the other CVE fix does not affect Formie 1, 2 and 3
https://github.com/verbb/formie/security/advisories/GHSA-3xfv-79c2-rj48

Craft CMS version

Craft Pro 5.12.4

PHP version

8.4.28

Operating system and version

Linux 6.1.0-56-amd64

Database type and version

MariaDB 11.4.12

Image driver and version

Imagick 3.8.1 (ImageMagick 6.9.11-60)

Installed plugins and versions

Bugsnag 5.0.8
CKEditor 5.3.1
Dashboard Befgone 3.0.0
Embedded Assets 5.4.9
Formie 3.3.0
Neo 5.5.14
Postmark 3.2.0
Read Only 2.0.0
Scout 5.0.11
Ether SEO 5.0.0
SEOMatic 5.1.24
Table Maker 5.1.8
Webhooks 3.5.1
Workflow 3.0.28

主要言語
PHP
スター
3.6k
フォーク
800
平均マージ
15時間 20分
マージ済み PR(30日)
715

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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