Before the release of the major version, how many weeks of security support are left for the old branch, and how should the upgrade window be arranged?
The phrase 'how many weeks of security support are left' is not a figure of speech, it has a clear algorithm: at the same time, only a few branches usually receive security fixes, and once the support day is reached, new exposed vulnerabilities no longer have official patches, only temporary protection. Therefore, the upgrade window should be arranged in reverse order, first fix the support day, and then leave verification and rollback time in front of it.
The support window is calculated based on the branch.
The security release window in the release plan only covers a few specific branches, such as the current system only providing security fixes for a few branches; old branches will end support in the week of the new major version release. This brings two judgments: first, not all in-use versions are protected, you need to confirm whether your branch is within the window; second, the end of support is often linked to a major version release date, which is the hard boundary.
What will happen on the day of the end of support?
Support is not just broken on the day the site is closed, but from then on, there are no official security patches. The vulnerabilities that have been publicly disclosed are no longer repaired, and newly discovered vulnerabilities only have temporary solutions from the community. The risk accumulates over time - the longer you are near the boundary without upgrading, the longer the window for running naked.
Three steps to reverse the upgrade window
First, set a fixed date, and then leave a buffer from the date backwards.
| Reverse steps | What to do | Why |
|---|---|---|
| Set the date of the end of support | Set the boundary as the week of the release of the new major version. | This is an immovable hard boundary |
| Leave time for verification | Run the upgrade in the pre-release environment | Custom extensions are most likely to cause problems here |
| Leave room for rollback time | Complete data backup before upgrading | Be able to rollback to a clean state if a problem occurs |
First confirm whether the branch is within the window before
The first step before scheduling is to check if the branch you are using is still receiving security fixes. Most release plans maintain a limited number of window branches at the same time, and branches that fall outside the window are only temporarily not problematic, not that they will never be problematic. Aligning the three columns of 'in-use branch - whether in the window - end of support day' will tell you which station needs to be prioritized and which can still follow the regular rhythm
Two things that must be done within the window
Before the upgrade, make a data backup, the rollback relies on it, this is related to the deployment method - using the official image, container, or panel deployment, the rollback path is shorter and faster, and more verification time should be left for those who directly build the environment. After the upgrade, follow the version description to handle the login credentials: the upgrade of a secure version often requires the rotation of site keys and the modification of the administrator's password, if only the upgrade is not to change the credentials, the session obtained by the attacker will not automatically expire. The latest security version of our own has fixed two high-risk issues: injection of sorting parameters and forgeable login credentials, and the official also recommends that the keys and passwords be rotated together when upgrading, which exactly explains that these two things should be done together.
Common questions
Ask: If the branch is still within the window, do we not need to be in a hurry?We need to be in a hurry. The window just means that we can still get patches now, the later we upgrade, the less time we have for verification and rollback, and the more likely we are to hit the day of discontinuation of support.
Ask: Is there another way after the discontinuation of support?Only temporary protection and self-resolution do not equal secure support, and we still need to upgrade to a supported branch as soon as possible.
Ask: What should be done along with the upgrade?Backup first, verification in the middle, and credential rotation at the end, all three are part of the upgrade window, and without one, rollback is without a bottom.