Maturity Models, Maintenance and Change
Mature processes produce more secure software consistently. This lesson covers maturity models, security in operation and maintenance, software change management and integrated product teams.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the levels of CMM and the purpose of SAMM.
- Explain software change management and integrated product teams.
Maturity models
The Capability Maturity Model (CMM), developed at Carnegie Mellon's Software Engineering Institute and succeeded by CMMI, describes five levels of process maturity, shown in the following table.
| Level | Name | Characteristics |
|---|---|---|
| 1 | Initial | Ad hoc and chaotic; success depends on individuals |
| 2 | Repeatable (Managed) | Basic project management; successes can be repeated |
| 3 | Defined | Standard processes documented and used organisation-wide |
| 4 | Managed (Quantitatively managed) | Processes measured and controlled with metrics |
| 5 | Optimizing | Continuous process improvement |
The OWASP Software Assurance Maturity Model (SAMM) focuses specifically on software security. It covers five business functions, governance, design, implementation, verification and operations, each with security practices scored across maturity levels, helping organisations assess their current state and plan improvements. The Building Security In Maturity Model (BSIMM) is a related, descriptive model based on practices observed in many organisations.
The difference between SAMM and BSIMM lies in what they tell an organisation. SAMM is prescriptive: it describes what good practice looks like at each level, so an organisation can score itself and plan the next steps, for example moving its threat assessment practice from level 1 (basic, ad hoc threat modelling) to level 2 (standardised threat modelling for all significant applications). BSIMM is descriptive: it reports which activities real organisations actually perform and how common each one is, so an organisation can compare itself with its peers.
Maturity matters because it predicts consistency. A team at the initial level may produce secure software when its best engineer is involved and insecure software when they are on leave. At the defined level, every team follows the same secure development process, so results no longer depend on individuals, and at the managed level the organisation measures the process and can show that it works.
The following diagram shows the five CMM levels.

SAMM, BSIMM and CMM
Operation, maintenance and change management
After release, software is operated and maintained: monitored, logged, patched and updated as defects are found, dependencies receive security fixes and requirements change. Every maintenance change needs the same security review and testing as new code.
Software change management controls modifications through request control (managing and prioritising requests), change control (managing developers' work, testing and approvals) and release control (approving deployment to production). Separation of development, test and production environments, and separation of duties between those who write and those who deploy code, prevent unauthorised code reaching production.
Maintenance is where many applications become insecure. An application that passed every test at launch can become vulnerable without anyone changing its code, because a library it depends on later turns out to contain a flaw, or because a new attack technique affects a pattern it uses. Ongoing maintenance therefore includes monitoring dependencies for new vulnerabilities, updating them regularly, and retesting after each update. Emergency fixes for production vulnerabilities follow an expedited path through change control, but still pass through review and testing, and the expedited change is reviewed afterwards.
Request, change or release control?
Integrated product teams
An integrated product team (IPT) brings together everyone needed to deliver a product, including developers, testers, operations, security, business owners and users, from the start. Security requirements are then weighed alongside function, cost and schedule rather than imposed late. DevOps cross-functional teams follow the same principle.
The benefit is earlier and better decisions. When a security architect sits in the product team from the first design session, a requirement such as encrypting customer documents is designed in at little cost. When security is consulted only before launch, the same requirement may force a redesign or, more often, be deferred as a known risk. Integrated teams also share ownership: operations staff point out how the system will be monitored and patched, and business owners can accept or reject trade-offs while there is still time to change the design.
Assessing maturity
A software company's secure coding practices vary widely between teams: some run static analysis and threat models, others do nothing, and results depend on which engineers are involved. Which CMM level describes this, and what is the next step?
Results that depend on individuals and vary between teams indicate a low maturity level, between initial and repeatable. The next step is to define standard secure development processes used by every team (level 3, defined), then measure them (level 4). An OWASP SAMM assessment would show which security practices to standardise first.
Which CMM level introduces quantitative measurement of processes?
Show answer
Level 4, Managed (quantitatively managed).
Exam Tips
Remember for the exam
- CMM: initial, repeatable, defined, managed, optimizing.
- SAMM is specific to software security.
- Separate who writes code from who deploys it.